mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
8 lines
370 B
Ruby
8 lines
370 B
Ruby
class <%= class_name %> < ActiveRecord::Base
|
|
# Include default devise modules.
|
|
# Others available are :lockable, :timeoutable and :activatable.
|
|
devise :authenticatable, :confirmable, :recoverable, :rememberable, :trackable, :validatable
|
|
|
|
# Setup accessible (or protected) attributes for your model
|
|
attr_accessible :email, :password, :password_confirmation
|
|
end
|