diff options
author | Mack Earnhardt <mack@agilereasoning.com> | 2013-03-16 12:32:07 -0400 |
---|---|---|
committer | Mack Earnhardt <mack@agilereasoning.com> | 2013-03-17 02:11:19 -0400 |
commit | 1d6eabb67758dd607f8cbcd38da76eb2c9146844 (patch) | |
tree | 02e3644bb298c558bf79df1bc20a6c01d0266ee2 /guides/rails_guides | |
parent | 077031691df0070be39a965a7eee07a9e5b1c4fe (diff) | |
download | rails-1d6eabb67758dd607f8cbcd38da76eb2c9146844.tar.gz rails-1d6eabb67758dd607f8cbcd38da76eb2c9146844.tar.bz2 rails-1d6eabb67758dd607f8cbcd38da76eb2c9146844.zip |
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.
Diffstat (limited to 'guides/rails_guides')
0 files changed, 0 insertions, 0 deletions