annotate config/initializers/filter_parameter_logging.rb @ 208:ef836405c9eb

Add 403 page
author nanaya <me@nanaya.pro>
date Mon, 19 Oct 2020 14:28:44 +0900
parents a1c9fadc0904
children 2335107f35d0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 # Be sure to restart your server when you modify this file.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
2
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
3 # Configure sensitive parameters which will be filtered from the log file.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
4 Rails.application.config.filter_parameters += [:password]