diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2013-07-14 01:54:33 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2013-07-14 01:54:33 -0300 |
commit | ba8b55f7911b4a74e151639150f997cca47488c9 (patch) | |
tree | ab76b58219faccc8bf3f4055a11ecc2c7caaee5a /railties/lib | |
parent | 2e13bd5c08590a748fe5554dc4d82bf3dcd4c171 (diff) | |
download | rails-ba8b55f7911b4a74e151639150f997cca47488c9.tar.gz rails-ba8b55f7911b4a74e151639150f997cca47488c9.tar.bz2 rails-ba8b55f7911b4a74e151639150f997cca47488c9.zip |
This is not needed anymore, before_initialize block can access config
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/application.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/railties/lib/rails/application.rb b/railties/lib/rails/application.rb index f761bef664..4faaf5ef1e 100644 --- a/railties/lib/rails/application.rb +++ b/railties/lib/rails/application.rb @@ -289,7 +289,6 @@ module Rails railties.each { |r| r.run_tasks_blocks(app) } super require "rails/tasks" - config = self.config task :environment do ActiveSupport.on_load(:before_initialize) { config.eager_load = false } |