I got the problem resolved.
The answer is, in Rails 3, filter_parameter_logging
in ActionController
is deprecated and has no effect, so remove that line and set ‘config.filter_parameters’
in config/application.rb
instead, like this:
config.filter_parameters += [:password, :password_confirmation]
Problem resolved.