Sha256: 6d9e8518476b67f4736e61f855d2edcb5cd0768359ddaed59f86588e22fe4d93
Contents?: true
Size: 263 Bytes
Versions: 2
Compression:
Stored size: 263 Bytes
Contents
## # Defines the login history for a user. class UserLoginHistory < ::BarkestCore::DbTable belongs_to :user validates :user, presence: true validates :ip_address, presence: true, length: { maximum: 64 } validates :message, length: { maximum: 200 } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
barkest_core-1.5.4.0 | app/models/user_login_history.rb |
barkest_core-1.5.3.0 | app/models/user_login_history.rb |