Class: LoginAttempt
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- LoginAttempt
- Defined in:
- app/models/login_attempt.rb
Overview
Failed login attempt
Attributes:
agent_id [Agent], optional
created_at [DateTime]
ip_address_id [IpAddress], optional
updated_at [DateTime]
user_id [User]
password [string]
Class Method Summary collapse
Methods included from HasOwner
Class Method Details
.page_for_administration(page = 1) ⇒ Object
26 27 28 |
# File 'app/models/login_attempt.rb', line 26 def self.page_for_administration(page = 1) list_for_administration.page(page) end |
.page_for_owner(user, page = 1) ⇒ Object
32 33 34 |
# File 'app/models/login_attempt.rb', line 32 def self.page_for_owner(user, page = 1) list_for_owner(user).page(page) end |