diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-04-26 19:32:23 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-04-26 19:55:39 -0700 |
commit | c1d73270717f30498f8f4d55d6695509107c2834 (patch) | |
tree | 88529812e5afe3cb15e60da2bc3fa67d3f4b09e4 /activesupport/CHANGELOG | |
parent | 43e2fd93b4fa92ca23d8bc8e68e1bf5a94038461 (diff) | |
download | rails-c1d73270717f30498f8f4d55d6695509107c2834.tar.gz rails-c1d73270717f30498f8f4d55d6695509107c2834.tar.bz2 rails-c1d73270717f30498f8f4d55d6695509107c2834.zip |
JSON: encode objects that don't have a native JSON representation using to_hash, if available, instead of instance_values (the old fallback) or to_s (other encoders' default). Encode BigDecimal and Regexp encode as strings to conform with other encoders. Try to transcode non-UTF-8 strings.
Diffstat (limited to 'activesupport/CHANGELOG')
-rw-r--r-- | activesupport/CHANGELOG | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG b/activesupport/CHANGELOG index 5ada5a1e9b..c47839b001 100644 --- a/activesupport/CHANGELOG +++ b/activesupport/CHANGELOG @@ -1,3 +1,8 @@ +*Rails 3.0.0 [beta 4/release candidate] (unreleased)* + +* JSON: encode objects that don't have a native JSON representation using to_hash, if available, instead of instance_values (the old fallback) or to_s (other encoders' default). Encode BigDecimal and Regexp encode as strings to conform with other encoders. Try to transcode non-UTF-8 strings. [Jeremy Kemper] + + *Rails 3.0.0 [beta 3] (April 13th, 2010)* * HashWithIndifferentAccess: remove inherited symbolize_keys! since its keys are always strings. [Santiago Pastorino] |