On Apr 1, 2:07 am, Rich Morin <r... / cfcl.com> wrote:
> One problem I see with using AR join tables for relationships
> is that there seems to be a presumption that there is only a
> single reason why a set of tables would be joined.  So, "Rich
> drives a Camry" and "Rich owns a Camry" live in cars_people.
>
> My working plan is to use a "type" field (ala STI) in each
> join table to disambiguate these cases.  Not pretty, however.

Just a heads-up since feedback from this group would be appreciated:

I've implemented that in my DataMapper project.

RubyForge project (svn access): http://rubyforge.org/projects/datamapper
Blog (with related posts): http://substantiality.net/archives/tags/datamapper