aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/contact.rb
diff options
context:
space:
mode:
authorBogdan Gusiev <agresso@gmail.com>2018-11-27 12:01:59 +0200
committerBogdan Gusiev <agresso@gmail.com>2018-11-27 12:05:02 +0200
commit68acbe8a3a1d5b2fab85ba9268645f6a1ceafff2 (patch)
tree74fd7193fbfa62beddfe051701e3aad69a3d75e3 /activerecord/test/models/contact.rb
parent3c8259e1a982190ba19d288bb0a1ad8411587540 (diff)
downloadrails-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/contact.rb')
0 files changed, 0 insertions, 0 deletions