From ba8b55f7911b4a74e151639150f997cca47488c9 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Sun, 14 Jul 2013 01:54:33 -0300 Subject: This is not needed anymore, before_initialize block can access config --- railties/lib/rails/application.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'railties/lib') 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 } -- cgit v1.2.3