Skip to content
Browse files

#502: Return alway false for eager load for rake envs.

  • Loading branch information...
1 parent 4b6886a commit 44ce6204b113b605cf3b4c7db9f4ea488a1c331c @miry miry committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/application.rb
View
2 railties/lib/rails/application.rb
@@ -291,7 +291,7 @@ def run_tasks_blocks(app) #:nodoc:
require "rails/tasks"
config = self.config
task :environment do
- config.eager_load = false
+ def config.eager_load; false; end
require_environment!
end
end

0 comments on commit 44ce620

Please sign in to comment.
Something went wrong with that request. Please try again.