Sha256: 3833faa2c26aad39ae5b9a7ff8a3f321610eff6a361d9c6b15315f3b2ff6e1b6

Contents?: true

Size: 208 Bytes

Versions: 5

Compression:

Stored size: 208 Bytes

Contents

module Guts
  # Polymorphic permissions model
  class Permission < ActiveRecord::Base
    belongs_to :permissionable, polymorphic: true, required: true
    belongs_to :authorization, required: true
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
guts-2.1.0 app/models/guts/permission.rb
guts-2.0.2 app/models/guts/permission.rb
guts-2.0.1 app/models/guts/permission.rb
guts-2.0.0 app/models/guts/permission.rb
guts-1.4.0 app/models/guts/permission.rb