Cannot seem to include my own module & classes into Rails ap

Doug Livesey
Sun, 02 Aug 2009 20:13:04 -0000

Hi -- I''ve got a class called SF::SOAP that gets defined at
/lib/wsdl/sandbox/defaultDriver.rb
It is defined like:

  module SF
    class SOAP
      # ...
    end
  end

How do I include this in my Rails app so that I can (for instance) call
SF::SOAP.new without getting an unintitialised constant (for SF) error?
I''ve tried direct requires, adding to the config.load_paths in the
environment files, adding to the $: array, all to no avail.
I did something similar years ago, but I''m damn''ed if I can
remember
how, so any help would be very gratefully received.
Cheers,
   Doug.