recurly/recurly-client-ruby — pull request #59 by wonnage (2012-03-01 00:38:00+00:00)
Title: don't traverse ancestors when using const_defined?/const_get

We have a CreditCard model defined (from our previous payment solution) in the global namespace. Recurly is accidentally trying to instantiate one of these when loading invoices, because of a "type=credit_card" attribute on transactions. So we got strange crashes regarding CreditCard.from_xml when pulling invoices from the API, that we traced down to the use of const_defined?/const_get with inheritance.