From 90d3bb28b220ed413294f2bd65f498f69b404a1f 2013-12-22 12:39:56 From: Toshi MARUYAMA Date: 2013-12-22 12:39:56 Subject: [PATCH] add stderr to config.active_support.deprecation in test and dev env git-svn-id: http://svn.redmine.org/redmine/trunk@12440 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/config/environments/development.rb b/config/environments/development.rb index bd92c55..bd66a78 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -15,5 +15,5 @@ RedmineApp::Application.configure do # Don't care if the mailer can't send config.action_mailer.raise_delivery_errors = false - config.active_support.deprecation = :log + config.active_support.deprecation = [:stderr, :log] end diff --git a/config/environments/test.rb b/config/environments/test.rb index b469638..f3d0ee9 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -24,7 +24,7 @@ RedmineApp::Application.configure do # http://m.onkey.org/2007/9/28/csrf-protection-for-your-existing-rails-application config.action_controller.allow_forgery_protection = false - config.active_support.deprecation = :log + config.active_support.deprecation = [:stderr, :log] config.secret_token = 'a secret token for running the tests' end