annotate config/initializers/filter_parameter_logging.rb @ 73:e9a6019a34ea

Avoid using constant. Use global instead =D
author nanaya <me@myconan.net>
date Fri, 13 May 2016 04:52:20 +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]