Wednesday, October 27, 2010

Re: Delete from model not working

On Tue, Oct 26, 2010 at 4:29 PM, David Harris <shady1024@gmail.com> wrote:
> I'm using loadModel because I only use this particular model once in my
> controller (it is not the default model). I've read that it's bad practice
> to use the $uses variable for everything.

Is the model at all associated with the default model? Remember that
you can chain them together, eg $this->Model->Model2->whatever().

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: