Ruby Paypal library uninitialized constant error

I’m trying to use the paypal library for ruby but im getting an error on
the ipn callback method.

im getting the error:
NameError (uninitialized constant Paypal::Notification::Money):
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:477:in
`const_missing’

I think it originates at this line of code:
logger.info(“paypal amount=#{notify.amount.to_s}”)

I have setup the helpers in the ApplicationHelper
require ‘paypal’
module ApplicationHelper
include Paypal::Helpers

Has anybody else had this problem?

Thanks,
James

i managed to fix this by adding require ‘money’ into the
applicationhelper file.

It worked fine for a while but all of a suddent the entire paypal gem
has stopped working

“undefined local variable or method `paypal_form_tag’ for
#<#Class:0xb7719f00:0xb7719ec4>”