From a765c8426fe39c73cf9f3ad7f8edcf588c01a11d Mon Sep 17 00:00:00 2001 From: Matthew Robertson Date: Sat, 1 Dec 2012 17:56:28 -0800 Subject: Fix for has_many_through counter_cache bug This commit fixes reported issue #7630 in which counter caches were not being updated properly when replacing has_many_through relationships --- activerecord/CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'activerecord/CHANGELOG.md') diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index de386cd358..be3b6564b0 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,10 @@ ## Rails 4.0.0 (unreleased) ## +* Fix counter cache columns not updated when replacing `has_many :through` + associations. + + *Matthew Robertson* + * Recognize migrations placed in directories containing numbers and 'rb'. Fix #8492 -- cgit v1.2.3