RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: usharf
Site: https://plus.google.com/104936988539783595605/posts
You can also use
validates password, :confirmation => true
a :password_confirmation accessor will be automatically created and available in the view, though validation will not be triggered if password_confirmation is nil.
You can also use
a :password_confirmation accessor will be automatically created and available in the view, though validation will not be triggered if password_confirmation is nil.