class User

def validate_length_of_password?

def validate_length_of_password?
  new_record? or not password.to_s.empty?
end