Polymorphic compatible with HABTM?


#1

Can you use polymorphic with a habtm relationship?

If so I would assume the join table would contain both the
foreign key and the type for both sides of the table. The
API documentation is unclear, although it may be out of date.

I would prefer not to. I am trying to model a Person, who
may be associated with many different models. A person
may also be a member of one or more Teams, each of which
has zero or more Persons.

Thanks,
Don Mc