Class: FacetsProductLines
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- FacetsProductLines
- Defined in:
- app/models/facets_product_lines.rb
Overview
== Schema Information
Table name: facets_product_lines
Database name: primary
id :integer not null, primary key
facet_id :integer
product_line_id :integer
Indexes
by_plid_fid (product_line_id,facet_id)
Belongs to collapse
Methods inherited from ApplicationRecord
ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation
Methods included from Models::EventPublishable
Instance Method Details
#facet ⇒ Facet
15 |
# File 'app/models/facets_product_lines.rb', line 15 belongs_to :facet, optional: true |
#product_line ⇒ ProductLine
16 |
# File 'app/models/facets_product_lines.rb', line 16 belongs_to :product_line, optional: true |