February 2011
2 posts
Rails Turn Off Browser Autocomplete on Forms
Hey people, this is a sometimes overlooked feature but when a browser keeps filling out certain fields in your form, you can turn off the default auto-complete by doing the following.
<%= f.password_field :password, :autocomplete => :off %>
Enjoy!
2 tags