Re: Saving HABTM data from checkboxes

2009-01-16 Thread Tad
Nevermind, it was a MySQL issue involving duplicate keys. Whoops on my part. --~--~-~--~~~---~--~~ 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 unsubscr

Saving HABTM data from checkboxes

2009-01-16 Thread Tad
So I have Teams HABTM Areas, with the following in the Team model: var $hasAndBelongsToMany = array( 'Area' => array('className' => 'Area', 'joinTable' => 'areas_teams', 'foreignKey' => 'team_id', 'associationForeignKey' => 'area_i