This project is archived and is in readonly mode.
Issue a warning when running production mode with cache_classes turned off
-
José Valim
+1
-
josh
- State changed from new to wontfix
Technically, is no such thing as "production" mode to Rails. Your environment is determined by the behavior you setup in the environment config. We don't do any ENV == "production" in the framework. cache_classes is the default for the production template that is generated for you.
-
Damian Janowski
Fair enough. It looks like the default behavior for a missing cache_classes should be true, not false. Please look at #645 cache_classes should be true by default.
(BTW, there are two ENV == 'production' checks in initializer.rb. But I understand your point)