From: Toshi MARUYAMA Date: Sun, 22 Dec 2013 12:39:56 +0000 (+0000) Subject: add stderr to config.active_support.deprecation in test and dev env X-Git-Tag: 2.5.0~452 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=90d3bb28b220ed413294f2bd65f498f69b404a1f;p=redmine.git 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 bd92c5552..bd66a784e 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 b4696385e..f3d0ee9b8 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