From 17cbf6428835c9828973b913ff5516ab256e3d20 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Sun, 26 Apr 2015 13:53:17 +0100 Subject: [PATCH] Remove deprecated BigDecimal --- models.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models.rb b/models.rb index 7cc6917..e61ad64 100644 --- a/models.rb +++ b/models.rb @@ -6,7 +6,7 @@ class Payment property :updated_at, DateTime property :service_id, Integer, :required => true property :supplier_id, Integer, :required => true - property :amount, BigDecimal, :precision => 10, :scale => 2, :required => true # ex VAT + property :amount, Decimal, :precision => 10, :scale => 2, :required => true # ex VAT property :d, Date, :required => true # transaction date property :transaction_id, Integer # May not be unique per payment as one transaction could have several payments