Fix bug introduced by PR#167 not covering all available currencies - #181
thai-truong wants to merge 1 commit into
Conversation
Does this bug only affect the Malaysian ringgit (MYR) or are other currencies affected? Thanks. |
This affects any currency that is not in I've personally run into the aforementioned issue with Malaysian Ringgit (as "RM", not "MYR") and Australian Dollar (AUD) since neither of them are in
What do you think? And thanks for taking a look! |
|
I'm facing the same issue with: "156,30 ARS".to_money("USD") # => Money(15630, "USD") |
|
I've just double checked, the fix is already implemented in a9af12c (january) but not released... |
|
ops! thanks for double checking @eloyesp! I will release RIGHT NOW 😳 😳 😳 😳 😳 😳 |
|
@eloyesp the bugfix has been released https://rubygems.org/gems/monetize/versions/2.0.1. Thanks! |

Currently, there is an existing bug in
monetizev1.13.0 introduced by #167 that attempted to implement additional logic for currency parsing discussed in #153.Example of the bug:
This PR aims to:
Money::Currency.all.map(&:iso_code).spec/monetize_spec.rbto accommodate for the aforementioned changes.