create( $model = NULL, $options = array ( ) )
first field should be model and i used create('Post') on Art model of
course it won't work !
I thought the first field is form method without consulting the API
page.
Thanks for your help and the DebugKit rock
On Jan 17, 11:05 pm, jeremyharris <funeralm...@gmail.com> wrote:
> DebugKit will show 0 queries if you have the sql element somewhere else,
> since it clears the logs. If you're in debug mode then there will
> definitely be at least a few queries each request because it doesn't cache
> (rather, very shortly) the table schemas. Make sure you're not echoing the
> sql log somewhere else.
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
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
No comments:
Post a Comment