config.cache_classes = false is broken in 2.3.4 and 2.3.5

I have created a ticket with a simple description of how to reproduce.

https://rails.lighthouseapp.com/projects/8994/tickets/4565

Jarl