Skip to content
  • Mack Earnhardt's avatar
    1d6eabb6
    Refactor Person/Friendship relationships to be more intuitive · 1d6eabb6
    Mack Earnhardt authored
    PR #5210 added a Friendship model to illustrate a bug, but in doing so
    created a confusing structure because both belongs_to declarations in
    Friendship referred to the same side of the join. The new structure
    maintains the integrity of the bug test while changing the follower
    relationship to be more useful for other testing.
    1d6eabb6
    Refactor Person/Friendship relationships to be more intuitive
    Mack Earnhardt authored
    PR #5210 added a Friendship model to illustrate a bug, but in doing so
    created a confusing structure because both belongs_to declarations in
    Friendship referred to the same side of the join. The new structure
    maintains the integrity of the bug test while changing the follower
    relationship to be more useful for other testing.
Loading