Asset-Tracker/app/models/user.rb
2011-06-14 18:08:28 -07:00

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