diff options
author | Matthew Stopa <matthew.p.stopa@gmail.com> | 2013-01-02 21:17:12 -0700 |
---|---|---|
committer | Matthew Stopa <matthew.p.stopa@gmail.com> | 2013-01-02 21:17:38 -0700 |
commit | 4928bdee27a723f31d59939a46ec1fddc2951c5f (patch) | |
tree | 5f0e179799b7300e71705c413ccd181a03f78518 /activesupport | |
parent | 66844ece691d3821de8e6993e31e147df02b4b3b (diff) | |
download | rails-4928bdee27a723f31d59939a46ec1fddc2951c5f.tar.gz rails-4928bdee27a723f31d59939a46ec1fddc2951c5f.tar.bz2 rails-4928bdee27a723f31d59939a46ec1fddc2951c5f.zip |
Add documentation for BacktraceCleaner#remove_filters!
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/backtrace_cleaner.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/backtrace_cleaner.rb b/activesupport/lib/active_support/backtrace_cleaner.rb index f1aff8a8e3..4b41e6247d 100644 --- a/activesupport/lib/active_support/backtrace_cleaner.rb +++ b/activesupport/lib/active_support/backtrace_cleaner.rb @@ -72,6 +72,9 @@ module ActiveSupport @silencers = [] end + # Removes all filters, but leaves in silencers. Useful if you suddenly + # need to see entire filepaths in the backtrace that you had already + # filtered out. def remove_filters! @filters = [] end |