diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-06-05 18:25:07 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-06-08 13:21:30 -0700 |
commit | 00ee990443189649e481b2c30945e7a1029d8280 (patch) | |
tree | c30e731055da3a6f67ea4c154059ff7245ef6e1c /activesupport/CHANGELOG | |
parent | 5e1b46d4c285124737abe2e08dec97e4af1f4be7 (diff) | |
download | rails-00ee990443189649e481b2c30945e7a1029d8280.tar.gz rails-00ee990443189649e481b2c30945e7a1029d8280.tar.bz2 rails-00ee990443189649e481b2c30945e7a1029d8280.zip |
JSON: split encoding and coercion
Diffstat (limited to 'activesupport/CHANGELOG')
-rw-r--r-- | activesupport/CHANGELOG | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG b/activesupport/CHANGELOG index 93e0f1aa24..9c5803c52a 100644 --- a/activesupport/CHANGELOG +++ b/activesupport/CHANGELOG @@ -1,5 +1,7 @@ *Edge* +* JSON: +Object#to_json+ calls +as_json+ to coerce itself into something natively encodable like +Hash+, +Integer+, or +String+. Override +as_json+ instead of +to_json+ so you're JSON library agnostic. [Jeremy Kemper] + * String #to_time and #to_datetime: handle fractional seconds #864 [Jason Frey] * Update bundled TZInfo to v0.3.13 [Geoff Buesing] |