Permalink
Browse files

This is not needed anymore, before_initialize block can access config

  • Loading branch information...
spastorino committed Jul 14, 2013
1 parent 2e13bd5 commit ba8b55f7911b4a74e151639150f997cca47488c9
Showing with 0 additions and 1 deletion.
  1. +0 −1 railties/lib/rails/application.rb
@@ -289,7 +289,6 @@ def run_tasks_blocks(app) #:nodoc:
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 }

0 comments on commit ba8b55f

Please sign in to comment.