Quotation < Document < ActiveResource
doc = Document.find(id)
GET http://someurl/documents/.xml
…
doc.class # => Document
instantiates Document even when the record is a Quotation
How do get the doc to be instantiated as Quotation?
thanks, Slava