File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -474,6 +474,12 @@ MoneyRails.configure do |config|
474
474
# symbol: nil,
475
475
# sign_before_symbol: nil
476
476
# }
477
+
478
+ # Set whether an error should be raised when parsing money values
479
+ # This includes assigning to a monetized field with the wrong currency
480
+ # Default value is false
481
+ #
482
+ # config.raise_error_on_money_parsing = true
477
483
end
478
484
```
479
485
493
499
* ` amount_column ` : Provide values for the amount column (holding the fractional part of a money object).
494
500
* ` currency_column ` : Provide default values or even disable (` present: false ` ) the currency column.
495
501
* ` rounding_mode ` : Set ` Money.rounding_mode ` to one of the BigDecimal constants.
502
+ * ` raise_error_on_money_parsing ` : Set whether errors should be raised when parsing money values
496
503
497
504
### Helpers
498
505
You can’t perform that action at this time.
0 commit comments