aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/reflection.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-06-28 17:18:03 -0400
committerGitHub <noreply@github.com>2017-06-28 17:18:03 -0400
commitb04082100f58f855b1825430b3e3685a24ae63f3 (patch)
tree9c2f4d2ff4d0c1c2acf8b3f44015ec18b448eacc /activerecord/lib/active_record/reflection.rb
parent8c65abe5f804522bcbf0d6f4327e7dfad0603941 (diff)
parentb0e714bd02d86706abc55add70fb61f73973e362 (diff)
downloadrails-b04082100f58f855b1825430b3e3685a24ae63f3.tar.gz
rails-b04082100f58f855b1825430b3e3685a24ae63f3.tar.bz2
rails-b04082100f58f855b1825430b3e3685a24ae63f3.zip
Merge pull request #28928 from kamipo/remove_habtm_initialize
Remove `HasAndBelongsToManyReflection#initialize`
Diffstat (limited to 'activerecord/lib/active_record/reflection.rb')
-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 72e0fcbdf4..73761ed7ed 100644
--- a/activerecord/lib/active_record/reflection.rb
+++ b/activerecord/lib/active_record/reflection.rb
@@ -768,10 +768,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?