Sha256: 99d0faeec05fddab4329804e1cd45d0af0efdff27980c66950f37df66ac0a921

Contents?: true

Size: 156 Bytes

Versions: 24

Compression:

Stored size: 156 Bytes

Contents

class Role < ActiveRecord::Base
  has_and_belongs_to_many :users, :join_table => :users_roles
  belongs_to :resource, :polymorphic => true
  
  scopify
end

Version data entries

24 entries across 24 versions & 3 rubygems

Version Path
mix-rails-0.26.1 mix-rails-auth/app/models/role.rb
mix-rails-auth-0.26.1 app/models/role.rb
mix-rails-0.26.0 mix-rails-auth/app/models/role.rb
mix-rails-auth-0.26.0 app/models/role.rb
mix-rails-0.25.1 mix-rails-auth/app/models/role.rb
mix-rails-auth-0.25.1 app/models/role.rb
mix-rails-0.25.0 mix-rails-auth/app/models/role.rb
mix-rails-auth-0.25.0 app/models/role.rb
mix-rails-0.24.1 mix-rails-auth/app/models/role.rb
mix-rails-auth-0.24.1 app/models/role.rb
mix-rails-0.24.0 mix-rails-auth/app/models/role.rb
mix-rails-auth-0.24.0 app/models/role.rb
git_wit-0.0.6 test/dummy/app/models/role.rb
git_wit-0.0.6.pre test/dummy/app/models/role.rb
git_wit-0.0.5 test/dummy/app/models/role.rb
git_wit-0.0.4.pre2 test/dummy/app/models/role.rb
git_wit-0.0.4.pre test/dummy/app/models/role.rb
git_wit-0.0.3 test/dummy/app/models/role.rb
mix-rails-0.23.1 mix-rails-auth/app/models/role.rb
mix-rails-auth-0.23.1 app/models/role.rb