To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / config / initializers / backtrace_silencers.rb @ 1566:ac2e4a54a6a6

History | View | Annotate | Download (405 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!