10 lines
452 B
Ruby
Executable File
10 lines
452 B
Ruby
Executable File
class User < ActiveRecord::Base
|
|
# Include default devise modules. Others available are:
|
|
# :http_authenticatable, :token_authenticatable, :confirmable, :recoverable, :lockable,
|
|
# :registerable, :timeoutable, :activatable, :registerable
|
|
devise :database_authenticatable, :rememberable, :trackable, :validatable
|
|
|
|
# Setup accessible (or protected) attributes for your model
|
|
attr_accessible :name, :email, :password, :password_confirmation
|
|
end
|