aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorBen Orenstein <ben.orenstein@gmail.com>2011-02-26 19:07:35 -0500
committerBen Orenstein <ben.orenstein@gmail.com>2011-02-26 19:07:41 -0500
commit9b35eeec6271d341f6fbc64b3515516905d9883e (patch)
tree1c76bbe72b2c21ac4d8e4b8150ae0b028310a146 /railties/guides
parent72ae724485cb092870dc9914a4f95aa6fbeda7fa (diff)
downloadrails-9b35eeec6271d341f6fbc64b3515516905d9883e.tar.gz
rails-9b35eeec6271d341f6fbc64b3515516905d9883e.tar.bz2
rails-9b35eeec6271d341f6fbc64b3515516905d9883e.zip
Clean up wording.
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/active_support_core_extensions.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile
index 4074eac7e7..7becefee09 100644
--- a/railties/guides/source/active_support_core_extensions.textile
+++ b/railties/guides/source/active_support_core_extensions.textile
@@ -2011,7 +2011,7 @@ That syntactic sugar is used a lot in Rails to avoid positional arguments where
If a method expects a variable number of arguments and uses <tt>*</tt> in its declaration, however, such an options hash ends up being an item of the array of arguments, where it loses its role.
-In those cases, you may give an options hash a distinguished treatment with +extract_options!+. That method checks the type of the last item of an array. If it is a hash it pops it and returns it, otherwise returns an empty hash.
+In those cases, you may give an options hash a distinguished treatment with +extract_options!+. This method checks the type of the last item of an array. If it is a hash it pops it and returns it, otherwise it returns an empty hash.
Let's see for example the definition of the +caches_action+ controller macro: