TheOdinProject/curriculum — pull request #657 by NatalieLow (2014-11-11 22:22:05+00:00)
Title: Remove step #6 in the Basic Setup for Project #2

Unless I'm missing something, this step appears to be redundant. I could create the validations: 'validates :password, confirmation: true' and 'validates :password_confirmation, presence: true' to check that there is a password_confirmation and that it matches the password However, this is already taken care of by the addition of #has_secure_password in step #5, as seen in the documentation and example here: https://www.omniref.com/ruby/gems/activemodel/4.1.6/symbols/ActiveModel::SecurePassword::ClassMethods/has_secure_password