I believe the with attribute will conflict with 'join_table' because
the model specified by 'wiht' already knows what table it wants to
use.
You should use one or the other.
I have successfully added additional fields in a HABTM using
'with' ..without issue
> var $hasAndBelongsToMany = array(
> 'Tag' => array('className' => 'Tag',
> 'joinTable' => 'entities_tags',
> 'foreignKey' => 'entity_id',
> 'associationForeignKey' => 'tag_id',
> 'with' => 'EntitiesTag',
> 'unique' => true,
> 'conditions' => 'EntitiesTag.entity = 1',
> ),
> );
>
> }
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---