Class: FacetsProductCategories

Inherits:
ApplicationRecord show all
Defined in:
app/models/facets_product_categories.rb

Overview

== Schema Information

Table name: facets_product_categories
Database name: primary

id :integer not null, primary key
facet_id :integer
product_category_id :integer

Indexes

by_fid_pcid (facet_id,product_category_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_categories.rb', line 15

belongs_to :facet, optional: true

#product_categoryProductCategory



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

belongs_to :product_category, optional: true