lib/generators/airbrake_initializer.rb.erb in airbrake-5.5.0 vs lib/generators/airbrake_initializer.rb.erb in airbrake-5.6.0
- old
+ new
@@ -54,9 +54,13 @@
# A list of parameters that should be filtered out of what is sent to
# Airbrake. By default, all "password" attributes will have their contents
# replaced.
# https://github.com/airbrake/airbrake-ruby#blacklist_keys
c.blacklist_keys = [/password/i]
+
+ # Alternatively, you can integrate with Rails' filter_parameters.
+ # Read more: https://goo.gl/gqQ1xS
+ # c.blacklist_keys = Rails.application.config.filter_parameters
end
# If Airbrake doesn't send any expected exceptions, we suggest to uncomment the
# line below. It might simplify debugging of background Airbrake workers, which
# can silently die.