RubyMoney / google_currency

Ruby Money::Bank interface for the Google Currency exchange data
http://rubymoney.github.com/google_currency
MIT License
182 stars 90 forks source link

undefined method `to_money' for 1:Fixnum #30

Closed spundun closed 9 years ago

spundun commented 9 years ago

Hi from the README.md file. I tried to run the whole usage code and it gives me this error.

1.001.00test.rb:22:in <main>': undefined methodto_money' for 1:Fixnum (NoMethodError)

spundun commented 9 years ago

I had to add a require 'monetize' statement to make it work. It worked then. Feel free to close this issue, or close it once you fix the docs

semmons99 commented 9 years ago

how about you submit a PR to correct the docs?

spundun commented 9 years ago

Thanks @yinquanteo