diff options
author | Louise Crow <louise.crow@gmail.com> | 2011-01-24 13:06:34 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2011-01-24 13:06:34 +0000 |
commit | 2977949f4bf9d1cb079e9ac7e95d4e0963093ac1 (patch) | |
tree | 9bb4bf2c89185e48a3ad3cdf995c9419e139755d /app/controllers/application_controller.rb | |
parent | 3ea078a736746d7e31275c24ac063aec240b7c22 (diff) |
Scrub passwords from logs.
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 8af2af528..5420499f6 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -12,6 +12,8 @@ class ApplicationController < ActionController::Base # Standard headers, footers and navigation for whole site layout "default" + # scrub sensitive parameters from the logs + filter_parameter_logging :password # Help work out which request causes RAM spike. # http://www.codeweblog.com/rails-to-monitor-the-process-of-memory-leaks-skills/ |