sorry for the confusion.

the following code was from my schema snapshot schema_5.php I
believe.
This is only used to to make sure my tables in MYSQL are structured
correctly
and not actively running anywhere.

[code snippet]
//this is from my latest schema snapshot
  var $data = array(
    'id' => array('type' => 'integer', 'null' => false, 'default' =>
NULL, 'key' => 'primary'),
[/code snippet]

I should also point out that the "add" method uses the same controller
and also uses saveAll(); with no problems.

Thanks for your patience
This makes me believe that having a table called "data" is not a
problem, or do I have this wrong?


On Jan 15, 2:08 pm, John Andersen <j.andersen...@gmail.com> wrote:
> You are welcome :) but my issue was not with the data controller, but
> whether or not the following is defined in your model?
>
> [code snippet]
> //this is from my latest schema snapshot
>
>   var $data = array(
>     'id' => array('type' => 'integer', 'null' => false, 'default' =>
> NULL, 'key' => 'primary'),
> [/code snippet]
>
> If it is, then the var $data conflicts with the models definition.
> Please check it out, enjoy,
>    John
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to