Sha256: b9028b16ee85745425bee4218bc9930486c568b60e030a8df7523bf5bb2fb608
Contents?: true
Size: 417 Bytes
Versions: 42
Compression:
Stored size: 417 Bytes
Contents
# frozen_string_literal: true 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
42 entries across 42 versions & 2 rubygems