In my Rails 4 application, when I have a form including a password, i.e.
<%= password_field_tag 'admpwd', nil, size:32, maxlength: 32, class:
'admentry' %>
I don't like the fact that the password is shown plain text in the log
file, and would like to disable this. I found several suggestions to
place the call
filter_parameter_logging "password"
into application.rb, but when I do it, I get the error message
undefined method `filter_parameter_logging' for
Tamsin::Application:Class
How can I do this correctly?
--
Posted via
http://www.ruby-forum.com/.