mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-29 21:17:17 +00:00
This removes the deprecation warning: ``` [WARNING] The default rounding mode will change from `ROUND_HALF_EVEN` to `ROUND_HALF_UP` in the next major release. Set it explicitly using `Money.rounding_mode=` to avoid potential problems. ``` by specifying the default rounding mode at boot time so that it's only set once for the whole app. See https://github.com/RubyMoney/money#rounding for details.