diff options
author | George Claghorn <george.claghorn@gmail.com> | 2019-01-04 23:09:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-04 23:09:12 -0500 |
commit | df8ee09ce71338cdf9816225df1bdebc707f3560 (patch) | |
tree | 5b2d265cdaca5c5859205389088b2bdc2327d935 /actiontext/test/dummy/config/initializers/backtrace_silencers.rb | |
parent | 88349cee3cb8f7bba662232fbc444eeebc8bb227 (diff) | |
parent | 0decd2ddc4a94cf522fc8ea8e6c73b9deedfdd93 (diff) | |
download | rails-df8ee09ce71338cdf9816225df1bdebc707f3560.tar.gz rails-df8ee09ce71338cdf9816225df1bdebc707f3560.tar.bz2 rails-df8ee09ce71338cdf9816225df1bdebc707f3560.zip |
Merge pull request #34873 from georgeclaghorn/actiontext
Import Action Text
Diffstat (limited to 'actiontext/test/dummy/config/initializers/backtrace_silencers.rb')
-rw-r--r-- | actiontext/test/dummy/config/initializers/backtrace_silencers.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/actiontext/test/dummy/config/initializers/backtrace_silencers.rb b/actiontext/test/dummy/config/initializers/backtrace_silencers.rb new file mode 100644 index 0000000000..59385cdf37 --- /dev/null +++ b/actiontext/test/dummy/config/initializers/backtrace_silencers.rb @@ -0,0 +1,7 @@ +# Be sure to restart your server when you modify this file. + +# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. +# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ } + +# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code. +# Rails.backtrace_cleaner.remove_silencers! |