aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-10-30 14:19:34 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-10-30 14:19:34 -0700
commite83989b5a79c264966ce07e5f4a1e160399505f6 (patch)
tree8d63b6b65628271bfb3acafb7f0847bf60c79e70 /guides
parent1d75efed8400cb28a7c56e6625be7df31e926c5a (diff)
parent8c36eade647357de0acfa1371c4c2e28334ed81d (diff)
downloadrails-e83989b5a79c264966ce07e5f4a1e160399505f6.tar.gz
rails-e83989b5a79c264966ce07e5f4a1e160399505f6.tar.bz2
rails-e83989b5a79c264966ce07e5f4a1e160399505f6.zip
Merge branch 'master' of github.com:rails/rails
* 'master' of github.com:rails/rails: Fix release instructions Raise an error when AS::JSON.decode is called with options Moved all JSON core extensions into core_ext/object/json
Diffstat (limited to 'guides')
-rw-r--r--guides/source/active_support_core_extensions.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/guides/source/active_support_core_extensions.md b/guides/source/active_support_core_extensions.md
index d3f49b19fa..74dfd23811 100644
--- a/guides/source/active_support_core_extensions.md
+++ b/guides/source/active_support_core_extensions.md
@@ -421,11 +421,9 @@ NOTE: Defined in `active_support/core_ext/object/with_options.rb`.
### JSON support
-Active Support provides a better implementation of `to_json` than the +json+ gem ordinarily provides for Ruby objects. This is because some classes, like +Hash+ and +OrderedHash+ needs special handling in order to provide a proper JSON representation.
+Active Support provides a better implementation of `to_json` than the +json+ gem ordinarily provides for Ruby objects. This is because some classes, like +Hash+, +OrderedHash+ and +Process::Status+ needs special handling in order to provide a proper JSON representation.
-Active Support also provides an implementation of `as_json` for the <tt>Process::Status</tt> class.
-
-NOTE: Defined in `active_support/core_ext/object/to_json.rb`.
+NOTE: Defined in `active_support/core_ext/object/json.rb`.
### Instance Variables