Sha256: 5f9d22c06ce28b4a6dfc26812036214135dafd13dfab3e006f259595be139cdc
Contents?: true
Size: 322 Bytes
Versions: 5
Compression:
Stored size: 322 Bytes
Contents
class Cbac::GenericRole < ActiveRecord::Base self.table_name = "cbac_generic_roles" attr_accessible :remarks, :name 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
cbac-0.6.10 | lib/cbac/generic_role.rb |
cbac-0.6.9 | lib/cbac/generic_role.rb |
cbac-0.6.8 | lib/cbac/generic_role.rb |
cbac-0.6.7 | lib/cbac/generic_role.rb |
cbac-0.6.5 | lib/cbac/generic_role.rb |