rails-api/active_model_serializers — pull request #404 by strzalek (2013-10-17 22:12:29+00:00)
Title: Change HABTM to has_many :through

HABTM is basically bridge to has_many :through now.

Quoting from ActiveRecord changelog (https://github.com/rails/rails/blob/master/activerecord/CHANGELOG.md):

has_and_belongs_to_many is now transparently implemented in terms of has_many :through.
Behavior should remain the same, if not, it is a bug.