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 @ 442:753f1380d6bc
History | View | Annotate | Download (404 Bytes)
| 1 |
# 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 |
# Rails.backtrace_cleaner.remove_silencers!
|