aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorJay Shepherd <jay@sprucecreeksoftware.com>2014-08-12 23:32:25 -0400
committerJay Shepherd <jay@sprucecreeksoftware.com>2014-08-12 23:32:25 -0400
commitb494e94bc90b4d553a986242a6f44c4d6707a43f (patch)
tree4564ceb059dac0ad4a629a499e40131be7c403dd /guides/source
parent82e28492e7c581cdeea904464a18eb11118f4ac0 (diff)
downloadrails-b494e94bc90b4d553a986242a6f44c4d6707a43f.tar.gz
rails-b494e94bc90b4d553a986242a6f44c4d6707a43f.tar.bz2
rails-b494e94bc90b4d553a986242a6f44c4d6707a43f.zip
Small grammar fix in pluck description
Diffstat (limited to 'guides/source')
-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)