I would like to change the currency in my app for each site.
So i currently have
number_to_currency(aNumber, :locale => :gb) which works well. I have a number of sites which use different currencies and have their country set in
@sites.currency - this passes in gb, eu, us, vi for example.
How would i go about changing the
:locale => :fr to
:locale => :gb as currently i can only get it passing in as a string, which is not obviously valid.
Join 30,005+ developers who get early access to new screencasts, articles, guides, updates, and more.