Hi Dnyanesh,

Thank you for your response
I will try it, hopefully it works

Thanks

On Thursday, March 19, 2015 at 4:11:44 PM UTC+7, dnyanesh kolhe wrote:
>
> In Related Model mention 'dependent' => true This will delete the 
> associate data from other table
>
> On Thursday, 5 March 2015 15:10:20 UTC+5:30, Ronald Layanto wrote:
>>
>> Hi all,
>>
>> This is my first time posting in this group, so I'm sorry if there's a 
>> similar topic before
>> I just replace my Lib folder with CakePHP 2.6.2 and everything seems great
>> However, I find an issue with delete function
>> When I delete using a model, related records in different table are not 
>> deleted (the cascade = true is not working)
>> I already set the relationships in each models, but still I have to 
>> delete them manually right after I perform delete function
>> I saw the docs, but it said the cascade automatillcaly set as 'true'
>> Is there anyone face the same issue like me?
>>
>> Thanks in advance
>>
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to