mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
1d6eabb677
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.
4 lines
54 B
YAML
4 lines
54 B
YAML
Connection 1:
|
|
id: 1
|
|
friend_id: 1
|
|
follower_id: 2
|