Skip to content

Commit

Permalink
set eager_load for dummy app
Browse files Browse the repository at this point in the history
recommend by rails4
  • Loading branch information
ferndopolis committed Feb 21, 2014
1 parent c8c0f51 commit 7dba073
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/dummy_app/config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
# Only use best-standards-support built into browsers
config.action_dispatch.best_standards_support = :builtin

config.eager_load = false

end
1 change: 1 addition & 0 deletions spec/dummy_app/config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,5 @@
# Send deprecation notices to registered listeners
config.active_support.deprecation = :notify

config.eager_load = true
end
2 changes: 2 additions & 0 deletions spec/dummy_app/config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@

# Print deprecation notices to the stderr
config.active_support.deprecation = :stderr

config.eager_load = false
end

0 comments on commit 7dba073

Please sign in to comment.