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/CHANGELOG.md | |
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/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index d8157d02ab..736745c3cd 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,11 @@ +* Fix redefine a has_and_belongs_to_many inside inherited class + Fixing regression case, where redefining the same has_an_belongs_to_many + definition into a subclass would raise. + + Fixes #14983. + + *arthurnn* + * Add a properties API to allow custom types and type casting behavior to be specified. Will enable many edge cases to be deprecated, and allow for additional interesting features in the future. |