Class: User
Instance Method Summary collapse
-
#email ⇒ Object
Database authenticatable.
-
#remember_created_at ⇒ Object
Rememberable.
-
#reset_password_token ⇒ Object
Recoverable.
-
#sign_in_count ⇒ Object
Trackable.
-
#users ⇒ Object
Lockable field :failed_attempts, type: Integer, default: 0 # Only if lock strategy is :failed_attempts field :unlock_token, type: String # Only if unlock strategy is :email or :both field :locked_at, type: Time.
Instance Method Details
#email ⇒ Object
Database authenticatable
9 |
# File 'app/models/user.rb', line 9 field :email, type: String, default: "" |
#remember_created_at ⇒ Object
Rememberable
17 |
# File 'app/models/user.rb', line 17 field :remember_created_at, type: Time |
#reset_password_token ⇒ Object
Recoverable
13 |
# File 'app/models/user.rb', line 13 field :reset_password_token, type: String |
#sign_in_count ⇒ Object
Trackable
20 |
# File 'app/models/user.rb', line 20 field :sign_in_count, type: Integer, default: 0 |
#users ⇒ Object
Lockable field :failed_attempts, type: Integer, default: 0 # Only if lock strategy is :failed_attempts field :unlock_token, type: String # Only if unlock strategy is :email or :both field :locked_at, type: Time
37 |
# File 'app/models/user.rb', line 37 has_many :users |