search for: creditcardcharg

Displaying 1 result from an estimated 1 matches for "creditcardcharg".

Did you mean: creditcardcharge
2007 Feb 18
1
namespaces in subclasses
...rails_root/lib and that are used by my controllers. I''m having a problem accessing AR objects from inside a class that is a subclass. I keep getting a NameError when trying to do something like Foo.find(), where Foo is an AR object. uninitialized constant OpenTransact::Gateway::Request::CreditCardCharge::PaymentAccount (NameError) For some reason the namespace has changed inside my class instance (an instance of CreditCardCharge) so that the AR object PaymentAccount is no longer there. If I access PaymentAccount from a class instance that is not a subclass, it works fine. What am I missing? C...