kiniu wrote: > And you are right with bindModel function. When I removed > hasAndBelongsToMany association from one of my model and binded it in > action function del() $model->del() function didn't remove associations > from DB.
actually if you call your bindModel function before you $model->del, and you setup your association as "dependent", your associated models will get properly deleted (I just got this to work last night) http://rd11.com/posts/view/19 <- that may help you a little --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
