aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-02-04 12:13:14 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-02-04 12:13:14 -0200
commit404cb36ee391ac7445fa90dfec17fbda524c6227 (patch)
tree18d7cec1a0c87e73d61fb305ad433299a8f30964
parentf1a6307a941a6f9c50cf7d196ba4a7bc1252501d (diff)
downloadrails-404cb36ee391ac7445fa90dfec17fbda524c6227.tar.gz
rails-404cb36ee391ac7445fa90dfec17fbda524c6227.tar.bz2
rails-404cb36ee391ac7445fa90dfec17fbda524c6227.zip
Add CHANGELOG entry for #13935 [ci skip]
-rw-r--r--activerecord/CHANGELOG.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 272f05eb79..d14b5b27f8 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,12 @@
+* Make sure transaction state gets reset after a commit operation on the record.
+
+ If a new transaction was open inside a callback, the record was loosing track
+ of the transaction level state, and it was leaking that state.
+
+ Fixes #12566.
+
+ *arthurnn*
+
* Pass `has_and_belongs_to_many` `:autosave` option to
the underlying `has_many :through` association.