diff options
author | Arthur Neves <arthurnn@gmail.com> | 2014-05-27 00:23:33 -0400 |
---|---|---|
committer | Arthur Neves <arthurnn@gmail.com> | 2014-05-27 00:23:33 -0400 |
commit | 8570f9391d725afae1f3d60bfc5536afc46733b5 (patch) | |
tree | 48d9cce87eab2cfda7e36ff8b2a896f047c6c6e4 /activerecord/lib/active_record/associations/preloader.rb | |
parent | 0bdfb4d166f816b104494f0d1adae832aed0421b (diff) | |
download | rails-8570f9391d725afae1f3d60bfc5536afc46733b5.tar.gz rails-8570f9391d725afae1f3d60bfc5536afc46733b5.tar.bz2 rails-8570f9391d725afae1f3d60bfc5536afc46733b5.zip |
Fix redefine a has_and_belongs_to_many inside inherited class
After ad7b5efb55bcc2e0ccd3e7f22a81e984df8676d1, which changed how
has_an_belongs_to_many used to work, we start raising an error when
redefining the same has_an_belongs_to_many association. This commits fix
that regression.
[Fixes #14983]
Diffstat (limited to 'activerecord/lib/active_record/associations/preloader.rb')
0 files changed, 0 insertions, 0 deletions