diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-09-04 03:38:13 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-09-04 03:38:13 +0000 |
commit | be54075956a14c05ec7a7249bed5d5c49034cc8d (patch) | |
tree | fff4dfca53a390d976b617cbe967d3ab570dac1f /actionwebservice | |
parent | 29f04510e9529a7f3b1e09a6ec6e8f296e7c0993 (diff) | |
download | rails-be54075956a14c05ec7a7249bed5d5c49034cc8d.tar.gz rails-be54075956a14c05ec7a7249bed5d5c49034cc8d.tar.bz2 rails-be54075956a14c05ec7a7249bed5d5c49034cc8d.zip |
set ActiveSupport::Deprecation.debug = true to see backtraces for deprecation callers. off by default. on for Rails tests.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4966 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice')
-rw-r--r-- | actionwebservice/test/abstract_unit.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionwebservice/test/abstract_unit.rb b/actionwebservice/test/abstract_unit.rb index 3c5a973498..b7088c43f3 100644 --- a/actionwebservice/test/abstract_unit.rb +++ b/actionwebservice/test/abstract_unit.rb @@ -9,6 +9,10 @@ require 'action_web_service' require 'action_controller' require 'action_controller/test_process' +# Show backtraces for deprecated behavior for quicker cleanup. +ActiveSupport::Deprecation.debug = true + + ActionController::Base.logger = Logger.new("debug.log") ActionController::Base.ignore_missing_templates = true |