diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-05 20:11:03 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-05 20:11:03 -0700 |
commit | 639efb93135c765dcf5c4aa09c30a8b4973c8421 (patch) | |
tree | 0ba7de36e6ebdb66050b82f27eff655398954811 /activesupport/lib/active_support | |
parent | 62aff55706e4a245080440343730a315be423628 (diff) | |
parent | d91bee80beae4e92b2b015599771310cebc3a143 (diff) | |
download | rails-639efb93135c765dcf5c4aa09c30a8b4973c8421.tar.gz rails-639efb93135c765dcf5c4aa09c30a8b4973c8421.tar.bz2 rails-639efb93135c765dcf5c4aa09c30a8b4973c8421.zip |
Merge pull request #7861 from frodsan/test_backtrace
use Rails backtrace in tests
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/backtrace_cleaner.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/backtrace_cleaner.rb b/activesupport/lib/active_support/backtrace_cleaner.rb index 53d05c3817..47898f8047 100644 --- a/activesupport/lib/active_support/backtrace_cleaner.rb +++ b/activesupport/lib/active_support/backtrace_cleaner.rb @@ -45,6 +45,7 @@ module ActiveSupport filtered end end + alias :filter :clean # Adds a filter from the block provided. Each line in the backtrace will be # mapped against this filter. |