Sha256: b2a9834095b2fa2d6ecfc2e65b1d647b489f7c9b106c89ff2ecf692f1973f605

Contents?: true

Size: 497 Bytes

Versions: 4

Compression:

Stored size: 497 Bytes

Contents

module HowTo
  class 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
    # attr_accessible :title, :body
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
how_to-0.0.4 app/models/how_to/admin_user.rb
how_to-0.0.3 app/models/how_to/admin_user.rb
how_to-0.0.2 app/models/how_to/admin_user.rb
how_to-0.0.1 app/models/how_to/admin_user.rb