]> source.dussan.org Git - redmine.git/commitdiff
add stderr to config.active_support.deprecation in test and dev env
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 22 Dec 2013 12:39:56 +0000 (12:39 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 22 Dec 2013 12:39:56 +0000 (12:39 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@12440 e93f8b46-1217-0410-a6f0-8f06a7374b81

config/environments/development.rb
config/environments/test.rb

index bd92c55525a01f006828dbb2df04e2c6fea6335f..bd66a784ef1fe0befe3153dc9d338a2b1a3d0009 100644 (file)
@@ -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
index b4696385ef18c031a48f8dc8b39ae16415669cb2..f3d0ee9b83caffbe609f4c0318f3b0b08c896326 100644 (file)
@@ -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