Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

cache_classes should be true by default

#645

Rails is assuming a "development mode"-like behavior. It seems that this is actually the exception -- ie not more than a "goodie" for developing.

This should not affect anybody in a bad way. Worst case scenario is that this will actually fix things on misconfigured servers (or in cases where you define your custom environment but don't have a config/environments/custom.rb -- by default Rails should assume that is not another development environment).

Reported by Damian Janowski · July 17th, 2008 @ 06:24 PM

State: resolved
Milestone: none
Assigned to: josh josh
Importance: High

Activity

  1. Alex Chee
    Alex Chee

    +1, this one bit me on my production servers.

    July 17th, 2008 @ 06:33 PM

  2. José Valim
  3. Jeremy Kemper
    Jeremy Kemper
    • Assigned user set to josh
    • State changed from new to open
    • Milestone cleared.

    July 30th, 2008 @ 09:57 AM

  4. josh
    josh

    Fair enough since "config.cache_classes = false" is the default for everyone's generated development environments.

    July 31st, 2008 @ 07:31 PM

  5. Repository
    Repository
    • State changed from open to resolved

    (from [030d5854adcf35e6620d667a93a922f5d91725d8]) Turn cache_classes on by default [#645 state:resolved]

    http://github.com/rails/rails/co...

    July 31st, 2008 @ 07:43 PM