aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2013-07-14 01:54:33 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2013-07-14 01:54:33 -0300
commitba8b55f7911b4a74e151639150f997cca47488c9 (patch)
treeab76b58219faccc8bf3f4055a11ecc2c7caaee5a /railties/lib
parent2e13bd5c08590a748fe5554dc4d82bf3dcd4c171 (diff)
downloadrails-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.rb1
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 }