diff --git a/lib/customer_finacials.rb b/lib/customer_finacials.rb index a39dfa63ebaa958d5f4d51efb6a9f400e253236f..fd1ad66bccd0e23599882648efe00c4cb48a2fb6 100644 --- a/lib/customer_finacials.rb +++ b/lib/customer_finacials.rb @@ -45,7 +45,7 @@ class CustomerFinancials transaction_id String created_at Time amount BigDecimal - note String + note String, coerce: ->(x) { x || "" } end def formatted_amount