Class: FacetsProductCategories
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- FacetsProductCategories
- 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
Instance Method Details
#facet ⇒ Facet
15 |
# File 'app/models/facets_product_categories.rb', line 15 belongs_to :facet, optional: true |
#product_category ⇒ ProductCategory
16 |
# File 'app/models/facets_product_categories.rb', line 16 belongs_to :product_category, optional: true |