14 Sep '13, 4pm

@Jack_Franklin built-in

for presence of password on create, confirmation of password (using a password_confirmation attribute) are automatically added. If you wish to turn off validations, pass validations: false as an argument. You can add more validations by hand if need be.

Full article: http://api.rubyonrails.org/classes/ActiveModel/SecurePass...

Tweets