How do you structure a rails model where two attributes need to share the same association with another model?
问题 I'm working on a Rails app that is a compendium of quotes that artists have said about other artists, and I'm having trouble figuring out how the relationships in my data model should work. Take this quote as an example. Here is something David Bowie said about Lou Reed: "He was a master" My attributes for a Quote model in this example would be something like this: Excerpt => "He was a Master" Speaker => "David Bowie" Subject => "Lou Reed" But what if Lou Reed said something about David Bowie