summaryrefslogtreecommitdiffstats
path: root/config/environments
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-12-22 12:39:56 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-12-22 12:39:56 +0000
commit90d3bb28b220ed413294f2bd65f498f69b404a1f (patch)
treef0a8130409e3d31c038bb8e726307ccc4a69a124 /config/environments
parentb9db2228c0f1380d757bfde9691be33a92e0335f (diff)
downloadredmine-90d3bb28b220ed413294f2bd65f498f69b404a1f.tar.gz
redmine-90d3bb28b220ed413294f2bd65f498f69b404a1f.zip
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
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/development.rb2
-rw-r--r--config/environments/test.rb2
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