From 8570f9391d725afae1f3d60bfc5536afc46733b5 Mon Sep 17 00:00:00 2001 From: Arthur Neves Date: Tue, 27 May 2014 00:23:33 -0400 Subject: 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] --- activerecord/CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'activerecord/CHANGELOG.md') 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. -- cgit v1.2.3