Sha256: 86385fc5af25bdf132c2019ea8fcd82f0205b8edff3ee696228eebc42b2e47ef

Contents?: true

Size: 284 Bytes

Versions: 6

Compression:

Stored size: 284 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

6 entries across 6 versions & 1 rubygems

Version Path
cbac-0.6.2 lib/cbac/generic_role.rb
cbac-0.5.4 lib/cbac/generic_role.rb
cbac-0.5.3 lib/cbac/generic_role.rb
cbac-0.5.2 lib/cbac/generic_role.rb
cbac-0.5.1 lib/cbac/generic_role.rb
cbac-0.3.1 lib/cbac/generic_role.rb