aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/join_dependency.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-10-11 19:03:03 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-10-11 19:03:03 -0700
commit485eec407ae7f9791d120380d637bd43d9177851 (patch)
tree41c828f5763cca89185ad96dddbc05b3d459765e /activerecord/lib/active_record/associations/join_dependency.rb
parentd7ddaa530fd1b94e22d745cbaf2e8a5a34ee9734 (diff)
downloadrails-485eec407ae7f9791d120380d637bd43d9177851.tar.gz
rails-485eec407ae7f9791d120380d637bd43d9177851.tar.bz2
rails-485eec407ae7f9791d120380d637bd43d9177851.zip
remove dead code
Diffstat (limited to 'activerecord/lib/active_record/associations/join_dependency.rb')
-rw-r--r--activerecord/lib/active_record/associations/join_dependency.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/activerecord/lib/active_record/associations/join_dependency.rb b/activerecord/lib/active_record/associations/join_dependency.rb
index e40466c647..0fb8c04a0c 100644
--- a/activerecord/lib/active_record/associations/join_dependency.rb
+++ b/activerecord/lib/active_record/associations/join_dependency.rb
@@ -167,11 +167,6 @@ module ActiveRecord
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!