rails/rails — pull request #14976 by kassio (2014-05-04 18:40:06+00:00)
Title: Fix macro name on reflections on habtm

Since 4.1, when rails starts a use `has_many through` to do `habtm`,
`habtm` reflections was using `has_many` macro. This commit bring back
`has_and_belongs_to_many` macro in `habtm` associations' reflections.

fixes #14682