Sha256: 8a45b9d055ab1ab11a6768f9e2be0dc264955685cd053c93cbb80258c45e6b9b

Contents?: true

Size: 232 Bytes

Versions: 6

Compression:

Stored size: 232 Bytes

Contents

class AttachmentCategory < Category
  has_and_belongs_to_many :elements,
    :join_table => 'categories_elements',
    :foreign_key => 'category_id',
    :association_foreign_key => 'element_id',
    :class_name => 'Attachment'
end

Version data entries

6 entries across 6 versions & 1 rubygems

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