Sha256: 016443bf38e0eb0b6e725bf18ba5d0d8671046580172e365e662e71bfd579627

Contents?: true

Size: 289 Bytes

Versions: 2

Compression:

Stored size: 289 Bytes

Contents

class Cbac::GenericRole < ActiveRecord::Base
  set_table_name "cbac_generic_roles"

  has_many :generic_role_members, :class_name => "Cbac::Membership", :foreign_key => "generic_role_id"
  has_many :permissions, :class_name => "Cbac::Permission", :foreign_key => "generic_role_id"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cbac-0.6.1 lib/cbac/generic_role.rb
cbac-0.6.0 lib/cbac/generic_role.rb