README.rdoc in nofxx-money-2.3.8 vs README.rdoc in nofxx-money-2.3.9
- old
+ new
@@ -7,12 +7,12 @@
- Represents monetary values as integers, in cents. This avoids floating point
rounding errors.
- Provides APIs for exchanging money from one currency to another.
- Has the ability to parse a money string into a Money object.
- Provides ActiveRecord "has_money" method.
+- Autofetch rates from ECB
-
== Install
gem sources -a http://gems.github.com
gem install <this-fork>-money
@@ -82,14 +82,24 @@
Money.default_bank = ExchangeBankWhichScrapesXeDotCom.new
=== Default Currency
-By default Money defaults to USD as its currency. This can be overwritten using:
+Money defaults to USD as its currency. This can be overwritten using:
Money.default_currency = "CAD"
If you use Rails, then environment.rb is a very good place to put this.
+
+
+=== Autofetch rates
+
+By default, Money won't fetch the rates automatically, you need to call: @bank.fetch_rates
+
+If you have your bank default rates configured, it'll fetch all possible rates from it,
+if you don't, It'll fetch all rates to and from your default_currency.
+
+Money uses the ECB XML Feed.
== Webapps
=== Ruby on Rails