You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It raises when trying to render, which makes me think it's not intentionally working:
Money.new(Float::INFINITY,"USD").to_s
2: from /Users/alex/.rvm/gems/ruby-2.7.7/gems/shopify-money-1.2.1/lib/money/money.rb:236:in `to_fs'
1: from /Users/alex/.rvm/gems/ruby-2.7.7/gems/shopify-money-1.2.1/lib/money/money.rb:236:in `-'
TypeError (nil can't be coerced into Integer)
Would you consider a PR to explicitly raise when the Money is initialized?
The text was updated successfully, but these errors were encountered:
It doesn't seem like this input should be possible (unless you're writing a program to simulate the federal reserve):
It raises when trying to render, which makes me think it's not intentionally working:
Would you consider a PR to explicitly raise when the
Money
is initialized?The text was updated successfully, but these errors were encountered: