From 485eec407ae7f9791d120380d637bd43d9177851 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 11 Oct 2013 19:03:03 -0700 Subject: [PATCH] remove dead code --- .../lib/active_record/associations/join_dependency.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/activerecord/lib/active_record/associations/join_dependency.rb b/activerecord/lib/active_record/associations/join_dependency.rb index e40466c6477a..0fb8c04a0c9c 100644 --- a/activerecord/lib/active_record/associations/join_dependency.rb +++ b/activerecord/lib/active_record/associations/join_dependency.rb @@ -167,11 +167,6 @@ def build(associations, parent, join_type) end end - def build_scalar(reflection, parent, join_type) - join_association = build_join_association(reflection, parent, join_type) - parent.children << join_association - end - def build_join_association(reflection, parent, join_type) reflection.check_validity!