If you want use Russian Ruble currency in Spree Commerce you should add this monay.rb
to config/initializer
directory of your project.
Last active
October 20, 2016 10:29
-
-
Save fiftin/1767768eec860acec16f to your computer and use it in GitHub Desktop.
Spree Commerce: Russian Ruble Symbol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rub = { | |
:priority => 1, | |
:iso_code => "RUB", | |
:iso_numeric => "643", | |
:name => "Russian ruble", | |
:symbol => "р.", | |
:subunit => "Kopeck", | |
:subunit_to_unit => 100, | |
:separator => ".", | |
:delimiter => ",", | |
:html_entity => "р." | |
} | |
Money::Currency.register(rub) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment