Sha256: 92f2f41a4701f7c7129faeaf12c49403e1f68f0017e768689f2552440d4567ef

Contents?: true

Size: 436 Bytes

Versions: 1

Compression:

Stored size: 436 Bytes

Contents

class User < ActiveRecord::Base
  # Include default devise modules. Others available are:
  # :token_authenticatable, :confirmable, :lockable and :timeoutable
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable

  # Setup accessible (or protected) attributes for your model
  attr_accessible :email, :password, :password_confirmation, :remember_me
  
  belongs_to :role
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
netzke-persistence-0.1.0 test/rails_app/app/models/user.rb