app/models/unidom/order/order_item.rb in unidom-order-1.4.2 vs app/models/unidom/order/order_item.rb in unidom-order-1.5

- old
+ new

@@ -6,10 +6,10 @@ self.table_name = 'unidom_order_items' include Unidom::Common::Concerns::ModelExtension include Unidom::Order::Concerns::AsAdjusted - validates :ordinal, presence: true, numericality: { only_integer: true, greater_than: 0, less_than: 1_000_000_000 } + #validates :ordinal, presence: true, numericality: { only_integer: true, greater_than: 0, less_than: 1_000_000_000 } validates :unit_price, presence: true, numericality: { less_than: 1_000_000_000, greater_than: 0 } validates :quantity, presence: true, numericality: { less_than: 1_000_000_000, greater_than: 0 } validates :purchase_amount, presence: true, numericality: { less_than: 1_000_000_000, greater_than: 0 } validates :subtotal_amount, presence: true, numericality: { less_than: 1_000_000_000, greater_than: 0 }