From 90d3bb28b220ed413294f2bd65f498f69b404a1f Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 22 Dec 2013 12:39:56 +0000 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 --- config/environments/development.rb | 2 +- config/environments/test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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