Class: FacetsProductLines

Inherits:
ApplicationRecord show all
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

#publish_event

Instance Method Details

#facetFacet

Returns:

See Also:



15
# File 'app/models/facets_product_lines.rb', line 15

belongs_to :facet, optional: true

#product_lineProductLine



16
# File 'app/models/facets_product_lines.rb', line 16

belongs_to :product_line, optional: true