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)

Constant Summary

Constants included from Schedulable

Schedulable::SIMPLE_FORM_OPTIONS

Belongs to collapse

Methods inherited from ApplicationRecord

ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation

Methods included from Schedulable

config

Methods included from Models::AfterCommittable

#after_commit

Methods included from Models::EventPublishable

#publish_event

Instance Method Details

#facetFacet

Returns:

See Also:



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

belongs_to :facet, optional: true

#product_lineProductLine



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

belongs_to :product_line, optional: true