saucy/config/initializers/filter_parameter_logging.rb
Hugo Peixoto 46881d72bf rails new
rails new \
  --skip-action-cable \
  --skip-hotwire \
  --skip-jbuilder \
  --skip-system-test \
  -a propshaft \
  --database=postgresql .
2022-06-20 20:48:08 +01:00

9 lines
396 B
Ruby

# Be sure to restart your server when you modify this file.
# Configure parameters to be filtered from the log file. Use this to limit dissemination of
# sensitive information. See the ActiveSupport::ParameterFilter documentation for supported
# notations and behaviors.
Rails.application.config.filter_parameters += [
:passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
]