diff options
author | José Valim <jose.valim@gmail.com> | 2010-06-02 00:42:20 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-02 00:48:16 +0200 |
commit | 5a0d73f17ce5590b1246d90ef54b6c6234f0fd0e (patch) | |
tree | 1b6c4c534c06998f9cd64fbe10c0cafbdc201736 /railties/lib/rails/application/finisher.rb | |
parent | cae25199008bc26d215e7af5558cfcdfdc6ec264 (diff) | |
download | rails-5a0d73f17ce5590b1246d90ef54b6c6234f0fd0e.tar.gz rails-5a0d73f17ce5590b1246d90ef54b6c6234f0fd0e.tar.bz2 rails-5a0d73f17ce5590b1246d90ef54b6c6234f0fd0e.zip |
Add lib to load paths when application is inherited to be able to load lib code during configuration.
Diffstat (limited to 'railties/lib/rails/application/finisher.rb')
-rw-r--r-- | railties/lib/rails/application/finisher.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/application/finisher.rb b/railties/lib/rails/application/finisher.rb index fbab4d5515..d7ff489336 100644 --- a/railties/lib/rails/application/finisher.rb +++ b/railties/lib/rails/application/finisher.rb @@ -38,7 +38,7 @@ module Rails initializer :eager_load! do if config.cache_classes && !$rails_rake_task ActiveSupport.run_load_hooks(:before_eager_load, self) - railties.all(&:eager_load!) + eager_load! end end |