> So it isn't a many-to-many association, it's just two one-to-many > associates.
as I stated in my previous reply, the problem is to do with the order in which your foreign keys are listed in the Orders table, and the fact your associations are mapped in a different order. This is why when you swap the order of the associations in your Order model it works. Always best to do everything alphabetically. cheers, jon -- jon bennett w: http://www.jben.net/ iChat (AIM): jbendotnet Skype: jon-bennett --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
