Well I noticed in among all the rails and hobo errors, that the error
actually occurs inside the money plugin.  Line 75 of /usr/lib/ruby/
gems/1.8/gems/money-2.1.5/lib/money/money.rb:

74 def initialize(cents, currency = Money.default_currency, bank =
Money.default_bank)
75    @cents = cents.round
76    if currency.is_a?(Hash)
77      # Earlier versions of Money wrongly documented the constructor
as being able
78      # to accept something like this:
79      #
80      #   Money.new(50, :currency => "USD")
81      #
82      # We retain compatibility here.
83      @currency = currency[:currency] || Money.default_currency
84    else
85      @currency = currency
86    end
87    @bank = bank

Cents is an integer, and integer doesn't support round.  I think
that's the problem..

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to