diff options
author | Matthew Draper <matthew@trebex.net> | 2017-05-24 13:26:32 +0930 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-24 13:26:32 +0930 |
commit | f19f4270d014156e9ac6276789ed08b2936b8cd7 (patch) | |
tree | af3571dc776e1ecd9e3f5b3eca205d6eb4f48992 /activerecord/lib/active_record | |
parent | 6c40e5e7f6fdb11e3d38f9b8238251a984cd21e2 (diff) | |
parent | 16bc5fd0ed3892bec0560fdbc93953f8b742bdb8 (diff) | |
download | rails-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.rb | 4 |
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 |