Hello, I am using ActiveRecord for a little project I just started (web app).
My model is as follows: [Client] HasMany [Products] In a maintenance interface (a view) I show client info and the list of products it has... The interface has an "Update" button. The problem is, each time I press the update button, it inserts new products into the "products" table (even if no changes are made), and nullify the existing products for this clients... It was supposed to update the product info.. not to insert new ones... What it can be?? Interface Image / Db with null values: http://imagebin.ca/view/CDVOrzS.html My Mappings: http://pastebin.ca/1520744 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
