Sha256: 2e76d147c912e0f6553e15ea792dce507e376419213b9be7a0209fe6db2e0b15
Contents?: true
Size: 445 Bytes
Versions: 36
Compression:
Stored size: 445 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, optional: true belongs_to :property, class_name: 'Spree::Property', inverse_of: :product_properties, optional: true self.allowed_ransackable_attributes = ['value'] end end
Version data entries
36 entries across 36 versions & 1 rubygems