Rails - Multiple Index Key Association
问题 There seem to be a number of ways to handle a multiple foreign key association. Each way I have approached this has their draw backs, and as I am new to Rails I am convinced others have come across a similar scenario and I am probably working on something solved long ago. My question is: What would be an efficient way of handling a multiple index key association, while still retaining all other Rails sql modifiers (such as :include etc)? My scenario is: I have a table association as follows