aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorArthur Neves <arthurnn@gmail.com>2015-02-27 15:54:50 -0500
committerArthur Neves <arthurnn@gmail.com>2015-02-27 16:05:28 -0500
commit4e757746a626ead999c4cabf443d3b683ac34ffc (patch)
tree2d58a4838ee6988bc3253d1bd6978ab182dc807b /activerecord
parent4a049583a24a5803f75d2ad27d683f4b138f17e2 (diff)
downloadrails-4e757746a626ead999c4cabf443d3b683ac34ffc.tar.gz
rails-4e757746a626ead999c4cabf443d3b683ac34ffc.tar.bz2
rails-4e757746a626ead999c4cabf443d3b683ac34ffc.zip
Add changelog for #15549 fix [skip ci]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/CHANGELOG.md7
1 files changed, 7 insertions, 0 deletions
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`.