From 4e757746a626ead999c4cabf443d3b683ac34ffc Mon Sep 17 00:00:00 2001 From: Arthur Neves Date: Fri, 27 Feb 2015 15:54:50 -0500 Subject: [PATCH] Add changelog for #15549 fix [skip ci] --- activerecord/CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 8d76b4145b..b5dd19988d 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,10 @@ +* Dont enroll records in the transaction if they dont have commit callbacks. + That was causing a memory grow problem when creating a lot of records inside a transaction. + + Fixes #15549. + + *Will Bryant*, *Aaron Patterson* + * Correctly create through records when created on a has many through association when using `where`.