From 828d0d7a7751a0c6a9faf0c96b89b0ea06a76094 Mon Sep 17 00:00:00 2001 From: Diego Carrion Date: Sat, 13 Jun 2015 12:51:32 -0300 Subject: thrown ActiveRecord::AssociationTypeMismatch when assigning a wrong value for a namespaced association fixes #20541 --- activerecord/CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'activerecord/CHANGELOG.md') diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 3351013b16..0ec3902eac 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,10 @@ +* Correctly thrown `ActiveRecord::AssociationTypeMismatch` when assigning + a wrong value to a namespaced association. + + Fixes #20545 + + *Diego Carrion* + * `validates_absence_of` respects `marked_for_destruction?`. Fixes #20449. -- cgit v1.2.3