Mark J. Titorenko
a3678e45ec
Fix BacktraceCleaner#noise for multiple silencers.
...
The previous implementation of BacktraceSilencer#noise did not
work correctly if more than one silencer was configured --
specifically, it would only return noise which was matched by all
silencers.
The new implementation is such that anything that has been matched by
silencers is removed from the backtrace using Array#- (array
difference), ie. we now return all elements within a backtrace that
have been matched by any silencer (and are thus removed by #silence).
Fixes #11030 .
2013-06-20 19:54:32 +01:00
Yves Senn
3db3f0407e
minor doc changes to ActiveSupport::BacktraceCleaner
.
2013-06-12 12:02:45 +02:00
Matthew Stopa
4928bdee27
Add documentation for BacktraceCleaner#remove_filters!
2013-01-02 21:17:38 -07:00
Francesco Rodriguez
3675cd41f3
rename private method to avoid overriding
2012-10-06 00:49:27 -05:00
Francesco Rodriguez
d91bee80be
use Rails backtrace in tests
2012-10-05 21:42:11 -05:00
Francesco Rodriguez
d71d5ba71f
update AS docs [ci skip]
2012-09-17 00:22:18 -05:00
Francesco Rodriguez
fa03e37d31
removing unnecessary 'examples' noise from activesupport
2012-05-13 20:26:53 -05:00
Rafael Mendonça França
185aa821d9
Whitespaces ✂️
2012-01-06 20:43:12 -03:00
Matt Jankowski
32de3b8119
move example code to be above reconfiguring discussion; add clarity about silencers and filters; misc grammar changes - for backtrace cleaners
2011-06-22 09:06:05 -04:00
suchasurge
9b96de6f3d
Some style changes
2011-03-06 10:26:24 +01:00
Doug Alcorn
dc97430630
ActiveSupport::BacktraceCleaner#remove_filters! allows for completely untouched backtrace [ #4079 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-10 14:06:10 +02:00
Joshua Peek
eb39d0f7b9
Use backtrace cleaner for dev mode exception page
2010-01-16 21:34:35 -06:00
David Heinemeier Hansson
f42c77f927
Added ActiveSupport::BacktraceCleaner and Rails::BacktraceCleaner for cutting down on backtrace noise (inspired by the Thoughtbot Quiet Backtrace plugin) [DHH]
2008-11-22 18:06:08 +01:00