Sha256: 56c913be46d660aefde4ca97963e03fd4ba84b1e82f3700b6533c2f9e5c41e10

Contents?: true

Size: 526 Bytes

Versions: 8

Compression:

Stored size: 526 Bytes

Contents

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

  # Setup accessible (or protected) attributes for your model
  attr_accessible :email, :password, :password_confirmation, :remember_me, 
    :username
  # attr_accessible :title, :body
  validates_presence_of :username
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
git_wit-0.0.6 test/dummy/app/models/user.rb
git_wit-0.0.6.pre test/dummy/app/models/user.rb
git_wit-0.0.5 test/dummy/app/models/user.rb
git_wit-0.0.4.pre2 test/dummy/app/models/user.rb
git_wit-0.0.4.pre test/dummy/app/models/user.rb
git_wit-0.0.3 test/dummy/app/models/user.rb
git_wit-0.0.2 test/dummy/app/models/user.rb
git_wit-0.0.1 test/dummy/app/models/user.rb