aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-04-29 12:27:25 +0200
committerJosé Valim <jose.valim@gmail.com>2010-04-29 12:42:42 +0200
commit2e9af3638d950ef840e1287f99e323887ec6a4c4 (patch)
treeeb08bcf15f3096f15ffc705190df649cc208b071 /activerecord/CHANGELOG
parent1bea5c755c25cd90171477fe725e64b26395b810 (diff)
downloadrails-2e9af3638d950ef840e1287f99e323887ec6a4c4.tar.gz
rails-2e9af3638d950ef840e1287f99e323887ec6a4c4.tar.bz2
rails-2e9af3638d950ef840e1287f99e323887ec6a4c4.zip
Move several configuration values from Hash to ActiveSupport::XmlMini, which both Hash and Array depends on.
Also, refactored ActiveModel serializers to just use ActiveSupport::XmlMini.to_tag. As consequence, if a serialized attribute is an array or a hash, it's not encoded as yaml, but as a hash or array.
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r--activerecord/CHANGELOG2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index fcb0e31f79..7864d735ad 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -1,5 +1,7 @@
*Rails 3.0.0 [beta 4/release candidate] (unreleased)*
+* Serialized attributes are not converted to YAML if they are any of the formats that can be serialized to XML (like Hash, Array and Strings). [José Valim]
+
* Destroy uses optimistic locking. If lock_version on the record you're destroying doesn't match lock_version in the database, a StaleObjectError is raised. #1966 [Curtis Hawthorne]
* PostgreSQL: drop support for old postgres driver. Use pg 0.9.0 or later. [Jeremy Kemper]