This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-github
/
rails--rails
Watch
1
Star
0
Fork
You've already forked rails--rails
0
mirror of
https://github.com/rails/rails.git
synced
2022-11-09 12:12:34 -05:00
Code
Releases
Activity
39c22303a6
rails--rails
/
activerecord
/
test
/
fixtures
/
friendships.yml
5 lines
54 B
YAML
Raw
Normal View
History
Unescape
Escape
reset_counters() was crashing when there were multiple belongs_to associations with the same foreign key. This closes #5200.
2012-02-28 13:20:27 -05:00
Connection 1
:
id
:
1
Refactor Person/Friendship relationships to be more intuitive 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.
2013-03-16 12:32:07 -04:00
friend_id
:
1
follower_id
:
2
Copy permalink