diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-07-31 13:42:28 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-07-31 13:42:28 -0500 |
commit | 030d5854adcf35e6620d667a93a922f5d91725d8 (patch) | |
tree | 75f2bd973a495e29d85d593d65524e19be9c0938 /railties | |
parent | 68b207b087588fc9a2cc8edb842408e3be5ba9ef (diff) | |
download | rails-030d5854adcf35e6620d667a93a922f5d91725d8.tar.gz rails-030d5854adcf35e6620d667a93a922f5d91725d8.tar.bz2 rails-030d5854adcf35e6620d667a93a922f5d91725d8.zip |
Turn cache_classes on by default [#645 state:resolved]
Diffstat (limited to 'railties')
-rw-r--r-- | railties/CHANGELOG | 2 | ||||
-rw-r--r-- | railties/lib/initializer.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG index 5ff1867568..6df7c568dc 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,5 +1,7 @@ *Edge* +* Turn cache_classes on by default [Josh Peek] + * Added configurable eager load paths. Defaults to app/models, app/controllers, and app/helpers [Josh Peek] * Introduce simple internationalization support. [Ruby i18n team] diff --git a/railties/lib/initializer.rb b/railties/lib/initializer.rb index 44c24e85f9..88341b9d73 100644 --- a/railties/lib/initializer.rb +++ b/railties/lib/initializer.rb @@ -903,7 +903,7 @@ Run `rake gems:install` to install the missing gems. end def default_cache_classes - false + true end def default_whiny_nils |