Sha256: b5236130dc889c76b38a02233db7263f29300fdb237ce30e0314d1946b1fba97
Contents?: true
Size: 566 Bytes
Versions: 3
Compression:
Stored size: 566 Bytes
Contents
class Kinney::AdminUser < ActiveRecord::Base # Include default devise modules. Others available are: # :token_authenticatable, :confirmable, # :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :recoverable, :rememberable, :trackable, :validatable # Setup accessible (or protected) attributes for your model attr_accessible :email, :password, :password_confirmation, :remember_me after_create { |admin| admin.send_reset_password_instructions } def password_required? new_record? ? false : super end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kinney-0.0.3 | app/models/kinney/admin_user.rb |
kinney-0.0.2 | app/models/kinney/admin_user.rb |
kinney-0.0.1 | app/models/kinney/admin_user.rb |