Sha256: cf247ae7eb0c1c2153dee1961f9f11530240437624de733afc08fc1d19f5483e

Contents?: true

Size: 234 Bytes

Versions: 58

Compression:

Stored size: 234 Bytes

Contents

module Spree
  class VariantPropertyRuleCondition < Spree::Base
    belongs_to :option_value
    belongs_to :variant_property_rule, touch: true

    validates_uniqueness_of :option_value_id, scope: :variant_property_rule_id
  end
end

Version data entries

58 entries across 58 versions & 1 rubygems

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