diff options
author | Prem Sichanugrist <s@sikachu.com> | 2010-01-21 11:48:27 +0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-21 11:41:31 +0100 |
commit | b1bc3b3cd352f68d79d7e232e9520eacb56ca41e (patch) | |
tree | efd65a8bdbf9a5d75e1101154aa05b38bf06422a /railties/lib/generators | |
parent | bd4f21fbac495fb28b6be993be808509e567239e (diff) | |
download | rails-b1bc3b3cd352f68d79d7e232e9520eacb56ca41e.tar.gz rails-b1bc3b3cd352f68d79d7e232e9520eacb56ca41e.tar.bz2 rails-b1bc3b3cd352f68d79d7e232e9520eacb56ca41e.zip |
Add deprecation warning for calling filter_parameter_logging ActionController::Base, and allow it to be configured in config.filter_parameters
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'railties/lib/generators')
-rw-r--r-- | railties/lib/generators/rails/app/templates/config/application.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/lib/generators/rails/app/templates/config/application.rb b/railties/lib/generators/rails/app/templates/config/application.rb index 334820826f..8a7f024a4d 100644 --- a/railties/lib/generators/rails/app/templates/config/application.rb +++ b/railties/lib/generators/rails/app/templates/config/application.rb @@ -30,5 +30,9 @@ module <%= app_const_base %> # g.template_engine :erb # g.test_framework :test_unit, :fixture => true # end + + # Configure sensitive parameters which will be filtered from the log file. + # Check the documentation for ActionDispatch::Http::ParametersFilter for more information. + # config.filter_parameters :password end end |