lib/generators/airbrake_initializer.rb.erb in airbrake-10.0.4 vs lib/generators/airbrake_initializer.rb.erb in airbrake-10.0.5
- old
+ new
@@ -52,15 +52,15 @@
c.ignore_environments = %w[test]
# 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, /authorization/i]
+ # https://github.com/airbrake/airbrake-ruby#blocklist_keys
+ c.blocklist_keys = [/password/i, /authorization/i]
# Alternatively, you can integrate with Rails' filter_parameters.
# Read more: https://goo.gl/gqQ1xS
- # c.blacklist_keys = Rails.application.config.filter_parameters
+ # c.blocklist_keys = Rails.application.config.filter_parameters
end
# A filter that collects request body information. Enable it if you are sure you
# don't send sensitive information to Airbrake in your body (such as passwords).
# https://github.com/airbrake/airbrake#requestbodyfilter