So I have interesting password validation requirements:
When a user signs up, I want them to have to type in password and confirm and be between 6..4
6..4
yet another variant
validates_presence_of :password_digest validates_length_of :password, minimum: 6, if: Proc.new { |user| user.password.present? }