Simple question: how do you save a HABTM association? do you have to cretae a model for the joining table or can you do if from one of the two related model classes?
i.e., if I have a table TableA and a TableB and in TableA's model class I've created a HABTM association through tableC (= tablea_id: int, tableb_int), is there a method I can call on tableA that will save an association to tableB in tableC, or do I have to do it manually by cretaing a model class for tableC and manually inserting IDs into its fields for the tableB and tableA records? Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
