diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-08-19 11:58:45 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-08-19 11:58:45 -0300 |
commit | 29a947808bc323e01164f9566df5e388ad216897 (patch) | |
tree | e9f35308186d8804cc457c038a92f6c12040d74f /guides/source | |
parent | 5dca980b13faeb6bb1a7799fe23e61e4db749c91 (diff) | |
parent | b494e94bc90b4d553a986242a6f44c4d6707a43f (diff) | |
download | rails-29a947808bc323e01164f9566df5e388ad216897.tar.gz rails-29a947808bc323e01164f9566df5e388ad216897.tar.bz2 rails-29a947808bc323e01164f9566df5e388ad216897.zip |
Merge pull request #16487 from jayshepherd/patch-1
Small grammar fix in pluck description
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/active_record_querying.md | 2 |
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) |