Sha256: a810b1386f630feda275c4041bff23a9e294d7393b91a13d47201886ecc36a0b

Contents?: true

Size: 375 Bytes

Versions: 6

Compression:

Stored size: 375 Bytes

Contents

class RightCategory < Category
  has_and_belongs_to_many :rights, :join_table => 'categories_elements', :foreign_key => 'category_id', :association_foreign_key => 'element_id', :class_name => 'Right'
  has_and_belongs_to_many :elements, :join_table => 'categories_elements', :foreign_key => 'category_id', :association_foreign_key => 'element_id', :class_name => 'Right'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
forgeos_core-1.9.5.rc2 app/models/right_category.rb
forgeos_core-1.9.5.rc1 app/models/right_category.rb
forgeos_core-1.9.4 app/models/right_category.rb
forgeos_core-1.9.3 app/models/right_category.rb
forgeos_core-1.9.2 app/models/right_category.rb
forgeos_core-1.9.1 app/models/right_category.rb