aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-12-02 23:53:21 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-12-02 23:53:21 +0530
commitee45823072cb21cfca623ff45792ef381774e32d (patch)
tree42e47fcd615e85f1e1b01ab3006c29d050b20070 /railties
parentbaa93a1c2ef5fd09203fe6ecd8eaddd79178bbbc (diff)
downloadrails-ee45823072cb21cfca623ff45792ef381774e32d.tar.gz
rails-ee45823072cb21cfca623ff45792ef381774e32d.tar.bz2
rails-ee45823072cb21cfca623ff45792ef381774e32d.zip
revises Enumerable#pluck in AS guide
Diffstat (limited to 'railties')
-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 76d757f6a7..6646e9cd05 100644
--- a/railties/guides/source/active_support_core_extensions.textile
+++ b/railties/guides/source/active_support_core_extensions.textile
@@ -2055,7 +2055,7 @@ NOTE: Defined in +active_support/core_ext/enumerable.rb+.
h4. +pluck+
-Plucks the value of the passed method for each element and returns the result as an array
+The +pluck+ method collects the value of the passed method for each element and returns the result as an array.
<ruby>
people.pluck(:name) # => [ "David Heinemeier Hansson", "Jamie Heinemeier Hansson" ]