From dca2fb368096735d18ea5b881e08816f7d552044 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 2 Oct 2013 15:43:50 -0700 Subject: [PATCH] goodbye has_and_belongs_to_many1, we will miss you! --- activerecord/lib/active_record/associations.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 09ed85ef24..5988af59d8 100644 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -1566,10 +1566,6 @@ def has_and_belongs_to_many(name, scope = nil, options = {}, &extension) scope = nil end - has_and_belongs_to_many1(name, scope, options, &extension) - end - - def has_and_belongs_to_many1(name, scope = nil, options = {}, &extension) builder = Builder::HABTM.new name, self, options join_model = builder.through_model -- GitLab