I have this problem all the time in my rails applications and I still need the right solution. Whenever a user edits his own record, the password field is populated. I suspect its Firefox, since setting @ user.password = nil in the editing action does not help.
The problem is that the password confirmation is not populated, so the check is not performed due to a missed match.
I tried the following:
<%= f.label :password %> <%= f.password_field :password, :value => "", :autofill => false, :class => 'max' %>
But it does not. I also tried :autofill => 'off' , which doesn't work either.
Does anyone have any suggestions? Thanks.
ruby-on-rails forms webforms actionview actionviewhelper
tsdbrown
source share