Class: WebAdmin::User
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- WebAdmin::User
- Extended by:
- EnumerateIt
- Includes:
- I18n::Alchemy
- Defined in:
- app/models/web_admin/user.rb
Instance Method Summary collapse
Instance Method Details
#password_required? ⇒ Boolean
21 22 23 |
# File 'app/models/web_admin/user.rb', line 21 def password_required? !persisted? || password.present? || password_confirmation.present? end |
#to_s ⇒ Object
17 18 19 |
# File 'app/models/web_admin/user.rb', line 17 def to_s email end |