Permalink
Browse files

remove dead code

  • Loading branch information...
1 parent d7ddaa5 commit 485eec407ae7f9791d120380d637bd43d9177851 @tenderlove tenderlove committed Oct 12, 2013
Showing with 0 additions and 5 deletions.
  1. +0 −5 activerecord/lib/active_record/associations/join_dependency.rb
View
5 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!

0 comments on commit 485eec4

Please sign in to comment.