Sha256: f7729805fe406624f21d5832042d935cad1cfdded5e13d87eddb4eb02723a605

Contents?: true

Size: 243 Bytes

Versions: 8

Compression:

Stored size: 243 Bytes

Contents

module Inkling
  class Role < ActiveRecord::Base    
    set_table_name 'inkling_roles'
    has_many :role_memberships
    has_many :users, :through => :role_memberships
    has_many :permissions
        
    ADMIN = "administrator"
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
inkling-0.1.0 app/models/inkling/role.rb
inkling-0.0.9 app/models/inkling/role.rb
inkling-0.0.8 app/models/inkling/role.rb
inkling-0.0.7 app/models/inkling/role.rb
inkling-0.0.5 app/models/inkling/role.rb
inkling-0.0.4 app/models/inkling/role.rb
inkling-0.0.3a app/models/inkling/role.rb
inkling-0.0.3 app/models/inkling/role.rb