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

Version Path
solidus_core-2.5.2 app/models/spree/product_property.rb
solidus_core-2.5.1 app/models/spree/product_property.rb
solidus_core-2.5.0 app/models/spree/product_property.rb
solidus_core-2.5.0.rc1 app/models/spree/product_property.rb
solidus_core-2.5.0.beta2 app/models/spree/product_property.rb
solidus_core-2.5.0.beta1 app/models/spree/product_property.rb
solidus_core-2.4.2 app/models/spree/product_property.rb
solidus_core-2.3.1 app/models/spree/product_property.rb
solidus_core-2.4.1 app/models/spree/product_property.rb
solidus_core-2.2.2 app/models/spree/product_property.rb
solidus_core-2.1.1 app/models/spree/product_property.rb
solidus_core-2.0.3 app/models/spree/product_property.rb
solidus_core-1.4.2 app/models/spree/product_property.rb
solidus_core-1.3.2 app/models/spree/product_property.rb
solidus_core-2.4.0 app/models/spree/product_property.rb
solidus_core-2.4.0.rc1 app/models/spree/product_property.rb
solidus_core-2.4.0.beta1 app/models/spree/product_property.rb
solidus_core-2.3.0 app/models/spree/product_property.rb
solidus_core-2.3.0.rc3 app/models/spree/product_property.rb
solidus_core-2.3.0.rc2 app/models/spree/product_property.rb