aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorErol Fornoles <erol.fornoles@gmail.com>2016-05-08 18:57:37 +0800
committerErol Fornoles <erol.fornoles@gmail.com>2016-05-08 18:57:37 +0800
commit258c95a9a206ffd2778691e1c02875d04d255c8e (patch)
treef0974325d69c5f05f584e6b78c92784098f085e4 /guides
parent0c34773bf57916e64f0fb15577891a6e5c5171c6 (diff)
downloadrails-258c95a9a206ffd2778691e1c02875d04d255c8e.tar.gz
rails-258c95a9a206ffd2778691e1c02875d04d255c8e.tar.bz2
rails-258c95a9a206ffd2778691e1c02875d04d255c8e.zip
Use consistent term [skip ci]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/active_support_core_extensions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_support_core_extensions.md b/guides/source/active_support_core_extensions.md
index d7f9201b26..5462e6b2b8 100644
--- a/guides/source/active_support_core_extensions.md
+++ b/guides/source/active_support_core_extensions.md
@@ -2349,7 +2349,7 @@ Contributor.limit(2).order(:rank).to_xml
To do so it sends `to_xml` to every item in turn, and collects the results under a root node. All items must respond to `to_xml`, an exception is raised otherwise.
-By default, the name of the root element is the underscorized and dasherized plural of the name of the class of the first item, provided the rest of elements belong to that type (checked with `is_a?`) and they are not hashes. In the example above that's "contributors".
+By default, the name of the root element is the underscored and dasherized plural of the name of the class of the first item, provided the rest of elements belong to that type (checked with `is_a?`) and they are not hashes. In the example above that's "contributors".
If there's any element that does not belong to the type of the first one the root node becomes "objects":