aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-05-24 13:26:32 +0930
committerGitHub <noreply@github.com>2017-05-24 13:26:32 +0930
commitf19f4270d014156e9ac6276789ed08b2936b8cd7 (patch)
treeaf3571dc776e1ecd9e3f5b3eca205d6eb4f48992 /activerecord/lib/active_record
parent6c40e5e7f6fdb11e3d38f9b8238251a984cd21e2 (diff)
parent16bc5fd0ed3892bec0560fdbc93953f8b742bdb8 (diff)
downloadrails-f19f4270d014156e9ac6276789ed08b2936b8cd7.tar.gz
rails-f19f4270d014156e9ac6276789ed08b2936b8cd7.tar.bz2
rails-f19f4270d014156e9ac6276789ed08b2936b8cd7.zip
Merge pull request #29174 from kamipo/remove_unused_join_part_name
Remove unused `JoinPart#name`
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/associations/join_dependency/join_part.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/associations/join_dependency/join_part.rb b/activerecord/lib/active_record/associations/join_dependency/join_part.rb
index 61cec5403a..80c9fde5d1 100644
--- a/activerecord/lib/active_record/associations/join_dependency/join_part.rb
+++ b/activerecord/lib/active_record/associations/join_dependency/join_part.rb
@@ -22,10 +22,6 @@ module ActiveRecord
@children = children
end
- def name
- reflection.name
- end
-
def match?(other)
self.class == other.class
end