From b0e714bd02d86706abc55add70fb61f73973e362 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Sat, 29 Apr 2017 22:53:40 +0900 Subject: Remove `HasAndBelongsToManyReflection#initialize` It is delegating `super` only. --- activerecord/lib/active_record/reflection.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/reflection.rb b/activerecord/lib/active_record/reflection.rb index 24ca8b0be4..47b561840f 100644 --- a/activerecord/lib/active_record/reflection.rb +++ b/activerecord/lib/active_record/reflection.rb @@ -745,10 +745,6 @@ module ActiveRecord end class HasAndBelongsToManyReflection < AssociationReflection # :nodoc: - def initialize(name, scope, options, active_record) - super - end - def macro; :has_and_belongs_to_many; end def collection? -- cgit v1.2.3