aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-04-29 22:53:40 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-04-29 22:53:40 +0900
commitb0e714bd02d86706abc55add70fb61f73973e362 (patch)
tree9a9d8d0cad6a203918699a1f7b5b82128e7154c7 /activerecord/lib
parent66c99d2430be3e8bde76e0f7712aa99ac0814b81 (diff)
downloadrails-b0e714bd02d86706abc55add70fb61f73973e362.tar.gz
rails-b0e714bd02d86706abc55add70fb61f73973e362.tar.bz2
rails-b0e714bd02d86706abc55add70fb61f73973e362.zip
Remove `HasAndBelongsToManyReflection#initialize`
It is delegating `super` only.
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/reflection.rb4
1 files changed, 0 insertions, 4 deletions
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?