Sha256: 247916fa64e260fb1996000f0d5177be96dde1e5d8edb0db9719df8b84734a30
Contents?: true
Size: 288 Bytes
Versions: 2
Compression:
Stored size: 288 Bytes
Contents
class Cbac::GenericRole < ActiveRecord::Base self.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.8.0 | lib/cbac/generic_role.rb |
cbac-0.7.0 | lib/cbac/generic_role.rb |