…money field, and it now properly defaults to -bash rather than nil
… '.37'.to_money #=> #<Money @cents=37>
…object when using a specific precision and building a new model
…ther #to_money methods
…example against the cents option
…onflicts with active support's implementation
This version is compatible with Rails 2.2. For compatibility with previous versions of Rails, check out the rails-2.1 branch.
…ot supplied a currency. The failure was due to the mappings that were being passed into #composed_of. For each mapping, a database column is expected to be found by ActiveRecord when it tries to match on dynamic finders. This removes the idea of a default currency on the ActiveRecord side of things. Folks can use Money.default_currency= to change things globally. If they want to provide a custom currency they can always supply the database field and supply the :currency option.
…eidea/acts_as_money and pluginize.