Browse files

Merge pull request #16487 from jayshepherd/patch-1

Small grammar fix in pluck description
  • Loading branch information...
2 parents 5dca980 + b494e94 commit 29a947808bc323e01164f9566df5e388ad216897 @rafaelfranca rafaelfranca committed Aug 19, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/active_record_querying.md
View
2 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)

0 comments on commit 29a9478

Please sign in to comment.