aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2015-03-23 14:47:24 +1030
committerMatthew Draper <matthew@trebex.net>2015-03-23 15:27:03 +1030
commit8b96c0b7a3510bc2a3ffe183318b7b6bcdf89ff3 (patch)
tree992dfe13f53b82c5fe882d9a43061ead19659f5d /activerecord/CHANGELOG.md
parent0347280035db63a43e2103166469ffa93e8e1808 (diff)
downloadrails-8b96c0b7a3510bc2a3ffe183318b7b6bcdf89ff3.tar.gz
rails-8b96c0b7a3510bc2a3ffe183318b7b6bcdf89ff3.tar.bz2
rails-8b96c0b7a3510bc2a3ffe183318b7b6bcdf89ff3.zip
Make sure to persist a newly-nil serialized value
The subtype will (quite reasonably) ignore the possibility that it has `changed_in_place?` by becoming nil. Fixes #19467
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index ce7cc5b11f..7b34cb8ccd 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,10 @@
+* Correctly persist a serialized attribute that has been returned to
+ its default value by an in-place modification.
+
+ Fixes #19467.
+
+ *Matthew Draper*
+
* Fix generating the schema file when using PostgreSQL `BigInt[]` data type.
Previously the `limit: 8` was not coming through, and this caused it to
become `Int[]` data type after rebuilding from the schema.