aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/abstract_unit.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-09-04 03:38:13 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-09-04 03:38:13 +0000
commitbe54075956a14c05ec7a7249bed5d5c49034cc8d (patch)
treefff4dfca53a390d976b617cbe967d3ab570dac1f /activesupport/test/abstract_unit.rb
parent29f04510e9529a7f3b1e09a6ec6e8f296e7c0993 (diff)
downloadrails-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 'activesupport/test/abstract_unit.rb')
-rw-r--r--activesupport/test/abstract_unit.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/activesupport/test/abstract_unit.rb b/activesupport/test/abstract_unit.rb
index 7e3ff50ac9..8e237beac2 100644
--- a/activesupport/test/abstract_unit.rb
+++ b/activesupport/test/abstract_unit.rb
@@ -2,3 +2,6 @@ require 'test/unit'
$:.unshift "#{File.dirname(__FILE__)}/../lib"
require 'active_support'
+
+# Show backtraces for deprecated behavior for quicker cleanup.
+ActiveSupport::Deprecation.debug = true