search for: purchasehistory

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

2006 Jun 30
2
Help with translating an object model to a relational mode
Hello rails friends, I am writing a soap interface to a databse for a .Net guy in rails. Actionwebservice kicks ass, however, I need some help translating the object model to a relational one: class Customer{ string firstName #blah string[] email_addresses PurchaseHistory[] myPurchases } class PurchaseHistory{ #blah blah blah } The object model is non-negotiable. I am not allowed to change it, I have to create equivalent soap objects for his types. The problem comes with the arrays. How do I store those in the database? Here is the migration I''ve...