aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-05-22 09:29:01 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-05-22 09:29:58 +0900
commit16bc5fd0ed3892bec0560fdbc93953f8b742bdb8 (patch)
treebd5b755541c96992cc1961bd01d3fad63cf5d303 /activerecord
parentd414881a342d849d65810a037c0b1baff8538e41 (diff)
downloadrails-16bc5fd0ed3892bec0560fdbc93953f8b742bdb8.tar.gz
rails-16bc5fd0ed3892bec0560fdbc93953f8b742bdb8.tar.bz2
rails-16bc5fd0ed3892bec0560fdbc93953f8b742bdb8.zip
Remove unused `JoinPart#name`
Diffstat (limited to 'activerecord')
-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