Class: User
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- User
- Defined in:
- app/models/user.rb
Instance Method Summary collapse
Instance Method Details
#validate_password? ⇒ Boolean
11 12 13 |
# File 'app/models/user.rb', line 11 def validate_password? password.blank? && password_confirmation.blank? && !self.new_record? end |