Monthly Archives: December 2010

Disabling autocomplete in Rails forms

Sometimes might be helpful disable the forms autocomplete feature, specially for the password fields. Just add to the field tag: For example: This adds the parameter autocomplete=”off” to the HTML tag.