Read:  tinyurl.com/4kbe9q

-Joel.

On Jun 17, 10:26 am, Jaime <[EMAIL PROTECTED]> wrote:
> Buah, sorry to bother the Group with YAHABTMQ (Yet Another HABTM
> Question), but I'm really stuck with this.
>
> I guess Cake can not save extra fields in HABTM join tables. I haven't
> seen nothing related to this in the nice book. To stick on the "Post
> HABTM Tag" example, this is not working:
>
> $this->data = array(
>   'Post' => array(
>     'id' => 1,
>   ),
>   'Tag' => array(
>     'Tag' => array(
>       '0' => array(
>         'tag_id' => 1,
>         'extrafield' => 'somethinghere',
>       ),
>       '1' => array(
>         'tag_id' => 2,
>         'extrafield' => 'somethinghere',
>       ),
>     ),
>   ),
> );
>
> $this->Post->save($this->data);
>
> Am I missing something?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to