aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-08-19 11:58:45 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-08-19 11:58:45 -0300
commit29a947808bc323e01164f9566df5e388ad216897 (patch)
treee9f35308186d8804cc457c038a92f6c12040d74f
parent5dca980b13faeb6bb1a7799fe23e61e4db749c91 (diff)
parentb494e94bc90b4d553a986242a6f44c4d6707a43f (diff)
downloadrails-29a947808bc323e01164f9566df5e388ad216897.tar.gz
rails-29a947808bc323e01164f9566df5e388ad216897.tar.bz2
rails-29a947808bc323e01164f9566df5e388ad216897.zip
Merge pull request #16487 from jayshepherd/patch-1
Small grammar fix in pluck description
-rw-r--r--guides/source/active_record_querying.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_querying.md b/guides/source/active_record_querying.md
index 35467fe95b..f9b46286c1 100644
--- a/guides/source/active_record_querying.md
+++ b/guides/source/active_record_querying.md
@@ -1464,7 +1464,7 @@ Client.connection.select_all("SELECT first_name, created_at FROM clients WHERE i
### `pluck`
-`pluck` can be used to query a single or multiple columns from the underlying table of a model. It accepts a list of column names as argument and returns an array of values of the specified columns with the corresponding data type.
+`pluck` can be used to query single or multiple columns from the underlying table of a model. It accepts a list of column names as argument and returns an array of values of the specified columns with the corresponding data type.
```ruby
Client.where(active: true).pluck(:id)