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
This commit is contained in:
parent
b9db2228c0
commit
90d3bb28b2
|
@ -15,5 +15,5 @@ RedmineApp::Application.configure do
|
||||||
# Don't care if the mailer can't send
|
# Don't care if the mailer can't send
|
||||||
config.action_mailer.raise_delivery_errors = false
|
config.action_mailer.raise_delivery_errors = false
|
||||||
|
|
||||||
config.active_support.deprecation = :log
|
config.active_support.deprecation = [:stderr, :log]
|
||||||
end
|
end
|
||||||
|
|
|
@ -24,7 +24,7 @@ RedmineApp::Application.configure do
|
||||||
# http://m.onkey.org/2007/9/28/csrf-protection-for-your-existing-rails-application
|
# http://m.onkey.org/2007/9/28/csrf-protection-for-your-existing-rails-application
|
||||||
config.action_controller.allow_forgery_protection = false
|
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'
|
config.secret_token = 'a secret token for running the tests'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue