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
git_wit-0.0.2 test/dummy/app/models/role.rb
git_wit-0.0.1 test/dummy/app/models/role.rb
mix-rails-0.23.0 mix-rails-auth/app/models/role.rb
mix-rails-auth-0.23.0 app/models/role.rb