To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / config / initializers / backtrace_silencers.rb @ 912:5e80956cc792
History | View | Annotate | Download (405 Bytes)
| 1 | 0:513646585e45 | Chris | # Be sure to restart your server when you modify this file.
|
|---|---|---|---|
| 2 | |||
| 3 | # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
||
| 4 | # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
||
| 5 | |||
| 6 | # You can also remove all the silencers if you're trying do debug a problem that might steem from framework code.
|
||
| 7 | 909:cbb26bc654de | Chris | # Rails.backtrace_cleaner.remove_silencers! |