RubyMoney / money-rails

Integration of RubyMoney - Money with Rails
MIT License
1.79k stars 386 forks source link

use future default localization behaviour? #682

Closed jnicho02 closed 6 months ago

jnicho02 commented 9 months ago

A clean install on Rails 7.1.2

Got a message about i18n

[DEPRECATION] You are using the default localization behaviour that will change in the next major release. Find out more - https://github.com/RubyMoney/money#deprecation

...which was confusing for a newbie.

Should money-rails default to 'config.locale_backend = :i18n' being on in the initializer, and users override if they want the soon-to-be-deprecated behaviour? Or maybe just a line in the readme to say turn it on?

semmons99 commented 6 months ago

a line in the readme (PR) seems appropriate for now