Link for others: filter_parameter_loggingDeprecated in Rails 3.
From the tutorial project :
PREVENTING LOGIN PASSWORD We do not want passwords to be written to our log file. In Rails 2 we would change the file
application / controllers / application_controller.rb
include:
filter_parameter_logging :password, :password_confirmation
In Rails 3, this is deprecated, and instead we modify the config / application.rb file to include:
config.filter_parameters += [:password, :password_confirmation]
, filter_parameters - .
"