12 lines
488 B
Ruby
12 lines
488 B
Ruby
class User < ActiveRecord::Base
|
|
# Include default devise modules. Others available are:
|
|
# :token_authenticatable, :confirmable,
|
|
# :lockable, :timeoutable and :omniauthable
|
|
devise :database_authenticatable, :rememberable, :trackable, :validatable,
|
|
:kerberos_authenticatable
|
|
|
|
# Setup accessible (or protected) attributes for your model
|
|
attr_accessible :email, :password, :password_confirmation, :remember_me
|
|
attr_accessible :username
|
|
# attr_accessible :title, :body
|
|
end
|