aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activerecord/lib/active_record/fixtures.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/activerecord/lib/active_record/fixtures.rb b/activerecord/lib/active_record/fixtures.rb
index 9a26e5df3f..3bb3131bd1 100644
--- a/activerecord/lib/active_record/fixtures.rb
+++ b/activerecord/lib/active_record/fixtures.rb
@@ -639,8 +639,6 @@ module ActiveRecord
if association.options[:through]
add_join_records(rows, row, HasManyThroughProxy.new(association))
end
- when :has_and_belongs_to_many
- add_join_records(rows, row, HABTMProxy.new(association))
end
end
end
@@ -674,16 +672,6 @@ module ActiveRecord
end
end
- class HABTMProxy < ReflectionProxy # :nodoc:
- def rhs_key
- @association.association_foreign_key
- end
-
- def lhs_key
- @association.foreign_key
- end
- end
-
private
def primary_key_name
@primary_key_name ||= model_class && model_class.primary_key