aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorAndrey Voronkov <voronkovaa@gmail.com>2012-05-09 19:20:14 +0400
committerAndrey Voronkov <voronkovaa@gmail.com>2012-05-09 19:20:14 +0400
commit3c0bf0435cfbc7a349faec5e1b5631e506b5dc70 (patch)
treea56031a9fbe8fef1d3459b7912e9dffb0e6a7d9c /activerecord/CHANGELOG.md
parentfed97091b9546d369a240d10b184793d49247dd3 (diff)
downloadrails-3c0bf0435cfbc7a349faec5e1b5631e506b5dc70.tar.gz
rails-3c0bf0435cfbc7a349faec5e1b5631e506b5dc70.tar.bz2
rails-3c0bf0435cfbc7a349faec5e1b5631e506b5dc70.zip
Custom coders support for ActiveRecord::Store. JSON, YAML, Marshal can be used out of the box.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 31886c8212..befc5c9999 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,4 +1,10 @@
## Rails 4.0.0 (unreleased) ##
+* Added custom coders support for ActiveRecord::Store. Now you can set
+ your custom coder like this:
+
+ store :settings, accessors: [ :color, :homepage ], coder: JSON
+
+ *Andrey Voronkov*
* `mysql` and `mysql2` connections will set `SQL_MODE=STRICT_ALL_TABLES` by
default to avoid silent data loss. This can be disabled by specifying