Sha256: 9ce94d6800acff9364bcf05ddf3061bd327af6df79e6c7e45357149c8b636eca

Contents?: true

Size: 215 Bytes

Versions: 44

Compression:

Stored size: 215 Bytes

Contents

class ZonePrice < ActiveRecord::Base
	
  belongs_to :zone
  belongs_to :variant

  validates_presence_of :price
  validates_numericality_of :price
  validates_presence_of :variant
  validates_presence_of :zone

end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
spree_zone_pricing-0.1.45 app/models/zone_price.rb
spree_zone_pricing-0.1.44 app/models/zone_price.rb
spree_zone_pricing-0.1.43 app/models/zone_price.rb
spree_zone_pricing-0.1.42 app/models/zone_price.rb
spree_zone_pricing-0.1.41 app/models/zone_price.rb
spree_zone_pricing-0.1.40 app/models/zone_price.rb
spree_zone_pricing-0.1.39 app/models/zone_price.rb
spree_zone_pricing-0.1.38 app/models/zone_price.rb
spree_zone_pricing-0.1.37 app/models/zone_price.rb
spree_zone_pricing-0.1.36 app/models/zone_price.rb
spree_zone_pricing-0.1.35 app/models/zone_price.rb
spree_zone_pricing-0.1.34 app/models/zone_price.rb
spree_zone_pricing-0.1.33 app/models/zone_price.rb
spree_zone_pricing-0.1.32 app/models/zone_price.rb
spree_zone_pricing-0.1.31 app/models/zone_price.rb
spree_zone_pricing-0.1.30 app/models/zone_price.rb
spree_zone_pricing-0.1.29 app/models/zone_price.rb
spree_zone_pricing-0.1.28 app/models/zone_price.rb
spree_zone_pricing-0.1.27 app/models/zone_price.rb
spree_zone_pricing-0.1.26 app/models/zone_price.rb