diff options
author | Bogdan Gusiev <agresso@gmail.com> | 2018-11-27 12:01:59 +0200 |
---|---|---|
committer | Bogdan Gusiev <agresso@gmail.com> | 2018-11-27 12:05:02 +0200 |
commit | 68acbe8a3a1d5b2fab85ba9268645f6a1ceafff2 (patch) | |
tree | 74fd7193fbfa62beddfe051701e3aad69a3d75e3 /activerecord/test/models/family.rb | |
parent | 3c8259e1a982190ba19d288bb0a1ad8411587540 (diff) | |
download | rails-68acbe8a3a1d5b2fab85ba9268645f6a1ceafff2.tar.gz rails-68acbe8a3a1d5b2fab85ba9268645f6a1ceafff2.tar.bz2 rails-68acbe8a3a1d5b2fab85ba9268645f6a1ceafff2.zip |
Reuse code in AR::Association#find_target
Before this patch, singular and collection associations
had different implementations of the #find_target method.
This patch reuses the code properly through extending the low level
methods.
Diffstat (limited to 'activerecord/test/models/family.rb')
0 files changed, 0 insertions, 0 deletions