Sha256: 74f2e45868d3ecaf1a4ce6b991c3e24794f42766002af14b2d3b33be1c56c40f
Contents?: true
Size: 386 Bytes
Versions: 43
Compression:
Stored size: 386 Bytes
Contents
module Spree class ProductProperty < Spree::Base include Spree::OrderedPropertyValueList acts_as_list scope: :product belongs_to :product, touch: true, class_name: 'Spree::Product', inverse_of: :product_properties belongs_to :property, class_name: 'Spree::Property', inverse_of: :product_properties self.whitelisted_ransackable_attributes = ['value'] end end
Version data entries
43 entries across 43 versions & 1 rubygems