you have your var $hasAndBelongsToMany messed up. Should be something similar to the following:
var $hasAndBelongsToMany = array(
'FlowFile' => array('className' => 'FlowFile',
'joinTable' =>
'contacts_flow_files',
'foreignKey' => 'contact_id',
'associationForeignKey' =>
'flow_file_id',
'conditions' => '',
'fields' => '',
'order' => '',
'limit' => '',
'offset' => '',
'unique' => '',
'finderQuery' => '',
'deleteQuery' => '',
'insertQuery' => ''),
'Note' => array('className' => 'Note',
'joinTable' => 'contacts_notes',
'foreignKey' => 'contact_id',
'associationForeignKey' =>
'note_id',
'conditions' => '',
'fields' => '',
'order' => '',
'limit' => '',
'offset' => '',
'unique' => '',
'finderQuery' => '',
'deleteQuery' => '',
'insertQuery' => ''),
);
hope that helps.
-Phil
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---
