1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/lib
Derek Prior d86c110b93
Add caveat to number_to_currency docs [ci skip]
I've worked on a few applications that have gone through the
internationalization process and had issues because they were using
`number_to_currency`. The minute a user is allowed to change their
locale, they can change the price displayed on a page from 10 US dollars
to 10 Mexican Pesos, which is far from the same amount of money.

Unlike other helpers that rely on i18n, `number_to_currency` does not
produce equivalent results when the locale is changed.

As I've explained this to a few groups of developers now, I thought it
might make for a good caveat in the docs.
2015-12-23 14:04:52 -05:00
..
action_view Add caveat to number_to_currency docs [ci skip] 2015-12-23 14:04:52 -05:00
action_view.rb Update copyright notices to 2015 [ci skip] 2014-12-31 08:34:14 +01:00