Yes, just create the othermodels_tags table for the new HABTM
relationship, that is the CakePHP way.
Enjoy,
John
On Dec 31, 4:36 am, Parris wrote:
> Hi All,
> So I have a habtm with Tags and Posts, now I want to add more tables
> that have HABTM relationships with Tags is this possible? Should I
> create a separated table? It does not seem neccesary to do so but I
> seem mistaken. I suppose I would just need to create a new table
> called othermodel_tags to link each other model to a tag. Then just
> say do things as normal in my models.
>
> Is there are different way I should be doing this? Is there anything
> else I should know.
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