From 16bc5fd0ed3892bec0560fdbc93953f8b742bdb8 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Mon, 22 May 2017 09:29:01 +0900 Subject: Remove unused `JoinPart#name` --- .../lib/active_record/associations/join_dependency/join_part.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'activerecord/lib/active_record') 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 -- cgit v1.2.3