Friday, February 26, 2010

Re: cakephp shell not validating before entering into db?

@WebbedIT - It doesnt care what format it is in. I always save the
array without prefixing the index with the model name.

On Feb 26, 12:48 am, WebbedIT <p...@webbedit.co.uk> wrote:
> The array you're passing to the save command is in the wrong format.
>
> It should be $this->Issue-
>
> >save(array('Issue'=>array('title'=>'test')));
>
> HTH
>
> Paul

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: