Sha256: 347b756fe8e8b9d3f24d0ae24b432c8f423e064eb3f61f49e31c9804cbb7b2ad

Contents?: true

Size: 405 Bytes

Versions: 6

Compression:

Stored size: 405 Bytes

Contents

module Wafflemix
  class User < ActiveRecord::Base

    attr_accessible :email, :username, :password, :password_confirmation, :remember_me

    devise :database_authenticatable, :recoverable, :rememberable, :trackable, :validatable

    has_many :wafflemix_user_roles, :class_name => 'Wafflemix::UserRole'
    has_many :roles, :through => :wafflemix_user_roles, :class_name => 'Wafflemix::Role'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wafflemix-0.0.6 app/models/wafflemix/user.rb
wafflemix-0.0.5 app/models/wafflemix/user.rb
wafflemix-0.0.4 app/models/wafflemix/user.rb
wafflemix-0.0.3 app/models/wafflemix/user.rb
wafflemix-0.0.2 app/models/wafflemix/user.rb
wafflemix-0.0.1 app/models/wafflemix/user.rb