I'm trying to use update_attributes to update my user object, but even though I don't pass in a password attribute in the params I send to update_attributes, I still get the password blank error.
I have two pages, one for updating user info except password and one for just updating password. How do I force the password validations to trigger on blank/nil on one form, but not the other?
validates :password, length: {minimum: 8}, format: {with: VALID_PASSWORD_REGEX}