ActiveRecord relationships for a join table linking two records of the same table?
问题 I have a Character model and a Link model. The Link model represents a link from a character to another character. A link has a textual 'description' attribute. A link from character A to character B is distinct from the opposite link from B to A. A character has zero or one link to another character. A character may have various links to different characters. A character may be linked to by various different characters. I used used Active Record relationships to partly implement