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):

I think it originates at this line of code:“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?


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