diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-10-22 17:37:16 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-10-22 17:37:16 +0000 |
commit | 2d1866d966d94c688f9cb87c5bf3f096dffac844 (patch) | |
tree | 7a733c1cc51448ab69b3f892285305dbfb0ae15e /config/environments/development.rb | |
parent | a6ec78a4dc658e3517ed682792016b6530458696 (diff) | |
download | redmine-2d1866d966d94c688f9cb87c5bf3f096dffac844.tar.gz redmine-2d1866d966d94c688f9cb87c5bf3f096dffac844.zip |
Merged rails-4.1 branch (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r-- | config/environments/development.rb | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb index bd66a784e..f7b15e140 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -1,19 +1,21 @@ -# Settings specified here will take precedence over those in config/application.rb -RedmineApp::Application.configure do +Rails.application.configure do + # Settings specified here will take precedence over those in config/application.rb + # In the development environment your application's code is reloaded on # every request. This slows down response time but is perfect for development # since you don't have to restart the webserver when you make code changes. - config.cache_classes = false + config.cache_classes = false - # Log error messages when you accidentally call methods on nil. - config.whiny_nils = true + # Do not eager load code on boot. + config.eager_load = false # Show full error reports and disable caching - #config.action_controller.consider_all_requests_local = true - config.action_controller.perform_caching = false + config.consider_all_requests_local = true + config.action_controller.perform_caching = false - # Don't care if the mailer can't send + # Disable delivery errors config.action_mailer.raise_delivery_errors = false + # Print deprecation notices to stderr and the Rails logger. config.active_support.deprecation = [:stderr, :log] end |