I'm writing a Rails application that will track people's interests. I'd
like to keep detailed information about each type of interest so I can't
just put everything in the interest table (the table would be just too
I was thinking that interest would have a type property that tells you
which one of the relationships will have the data.
I know about single table inheritances and polymorphic relationships but
can't figure out how to apply them to come up with an elegant solution.