aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-01-29 20:44:58 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-01-29 20:44:58 -0200
commit6bc179075d95030cee4c143b472345fa7f12b1b9 (patch)
tree0cd9fca8ca77d7326254212238deb394dee8d888 /activerecord/CHANGELOG.md
parentbd0173574ca908acca3f29b9da7db03bd6a89436 (diff)
parentc9346322b15c15f51234c33a3db1b3895ffe84ab (diff)
downloadrails-6bc179075d95030cee4c143b472345fa7f12b1b9.tar.gz
rails-6bc179075d95030cee4c143b472345fa7f12b1b9.tar.bz2
rails-6bc179075d95030cee4c143b472345fa7f12b1b9.zip
Merge pull request #13867 from mauricio/bug-13861
Fixing issue with activerecord serialization not being able to dump a record after loading it from YAML - fixes #13861
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index fe0d7b2b35..3422474d14 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,15 @@
+* ActiveRecord objects can now be correctly dumped, loaded and dumped again without issues.
+
+ Previously, if you did `YAML.dump`, `YAML.load` and then `YAML.dump` again
+ in an ActiveRecord model that used serialization it would fail at the last
+ dump due to the fields not being correctly serialized before being dumped
+ to YAML. Now it is possible to dump and load the same object as many times
+ as needed without any issues.
+
+ Fixes #13861.
+
+ *Maurício Linhares*
+
* `find_in_batches` now returns an `Enumerator` when called without a block, so that it
can be chained with other `Enumerable` methods.