nate wrote:
> Only if the 'dependent' association key is set to true, i.e.:
>
> class Post extends AppModel {
>
> var $hasMany = array(
> 'Comment' => array('dependent' => true)
> );
> }
Nate: I asked almost this very same question about a week ago. What
about HABTM relationships, which do not (as far as I know) have the
"dependent" option.
Related: Does the beforeDelete() action get called on these "cascaded"
deletes? From what I can see with logging, the answer seems to be "no".
-Scott
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---