Asset-Tracker/app/models/user.rb

10 lines
452 B
Ruby
Raw Normal View History

2011-06-15 01:08:28 +00:00
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