diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-11 19:03:03 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-11 19:03:03 -0700 |
commit | 485eec407ae7f9791d120380d637bd43d9177851 (patch) | |
tree | 41c828f5763cca89185ad96dddbc05b3d459765e /activerecord | |
parent | d7ddaa530fd1b94e22d745cbaf2e8a5a34ee9734 (diff) | |
download | rails-485eec407ae7f9791d120380d637bd43d9177851.tar.gz rails-485eec407ae7f9791d120380d637bd43d9177851.tar.bz2 rails-485eec407ae7f9791d120380d637bd43d9177851.zip |
remove dead code
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/associations/join_dependency.rb | 5 |
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! |