spree_zone_pricing 0.1.47 → 0.1.48
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/currency_price.rb +1 -5
- metadata +1 -1
@@ -1,10 +1,6 @@
|
|
1
1
|
class CurrencyPrice < ActiveRecord::Base
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
validates_presence_of :price
|
6
|
-
validates_numericality_of :price
|
7
|
-
validates_presence_of :variant
|
3
|
+
validates_presence_of :variant_id
|
8
4
|
validates_presence_of :currency
|
9
5
|
|
10
6
|
def self.currency_types
|