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-1.3.1 app/models/spree/variant_property_rule_condition.rb
solidus_core-1.3.0 app/models/spree/variant_property_rule_condition.rb
solidus_core-1.3.0.rc2 app/models/spree/variant_property_rule_condition.rb
solidus_core-1.3.0.rc1 app/models/spree/variant_property_rule_condition.rb
solidus_core-1.3.0.beta1 app/models/spree/variant_property_rule_condition.rb
solidus_core-1.2.2 app/models/spree/variant_property_rule_condition.rb
solidus_core-1.2.1 app/models/spree/variant_property_rule_condition.rb
solidus_core-1.1.3 app/models/spree/variant_property_rule_condition.rb
solidus_core-1.2.0 app/models/spree/variant_property_rule_condition.rb
solidus_core-1.2.0.rc2 app/models/spree/variant_property_rule_condition.rb
solidus_core-1.1.2 app/models/spree/variant_property_rule_condition.rb
solidus_core-1.2.0.rc1 app/models/spree/variant_property_rule_condition.rb
solidus_core-1.2.0.beta1 app/models/spree/variant_property_rule_condition.rb
solidus_core-1.1.1 app/models/spree/variant_property_rule_condition.rb
solidus_core-1.1.0 app/models/spree/variant_property_rule_condition.rb
solidus_core-1.1.0.pre2 app/models/spree/variant_property_rule_condition.rb
solidus_core-1.1.0.pre1 app/models/spree/variant_property_rule_condition.rb
solidus_core-1.1.0.beta1 app/models/spree/variant_property_rule_condition.rb