You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
class User < ActiveRecord::Base
|
|
|
|
include SentientUser
|
|
|
|
# Include default devise modules. Others available are:
|
|
|
|
# :token_authenticatable, :encryptable, :timeoutable and :omniauthable
|
|
|
|
devise :database_authenticatable,
|
|
|
|
:registerable,
|
|
|
|
:recoverable,
|
|
|
|
:rememberable,
|
|
|
|
:trackable,
|
|
|
|
:validatable,
|
|
|
|
:confirmable,
|
|
|
|
:lockable
|
|
|
|
|
|
|
|
# Setup accessible (or protected) attributes for your model
|
|
|
|
attr_accessible :email, :password, :password_confirmation, :remember_me
|
|
|
|
|
|
|
|
has_many :records
|
|
|
|
end
|