I created a behavior that automatically does just this. I wrote about
it in my blog:
Automatically prevent records with depending children from being
deleted: http://josh.ch/wordpress/?p=80
I hope somebody will this useful. Please comment on it, I'm happy to
optimize it if needed. :-)
On Tue, Oc
So it seems there's no such functionality yet? I will try to create a
component or something for this...
On Thu, Sep 16, 2010 at 12:17 PM, Jeremy Burns | Class Outfit
wrote:
> Go directly to the source; use referential integrity in InnoDB.
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutf
Go directly to the source; use referential integrity in InnoDB.
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.com
http://www.classoutfit.com
On 16 Sep 2010, at 11:12, psybear83 wrote:
> Hi all
>
> I know that I can use the dependent flag to automatically delete all
> the associated model o
Hi all
I know that I can use the dependent flag to automatically delete all
the associated model objects.
But I'd rather have an option to prevent deletion of the object as
long as it's having other depending objects. Is there an easy way to
do this?
Thanks a lot
Josh
Check out the new CakePHP