diff options
author | Richard Schneeman <richard.schneeman+no-recruiters@gmail.com> | 2017-05-26 22:05:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-26 22:05:03 -0500 |
commit | 1229e99ca2e9911a20a52ac5b6188e0edaf630bf (patch) | |
tree | aa18278cd6bd38702912044d94dda4402c4202e6 | |
parent | d93cd4357bacf32dab0f03a9a0abc4144fdcdf16 (diff) | |
parent | 9980709c5aa25af7c0fd598bade23c2a9e66efc5 (diff) | |
download | rails-1229e99ca2e9911a20a52ac5b6188e0edaf630bf.tar.gz rails-1229e99ca2e9911a20a52ac5b6188e0edaf630bf.tar.bz2 rails-1229e99ca2e9911a20a52ac5b6188e0edaf630bf.zip |
Merge pull request #29245 from nihemak/fix-docs-find
[ci skip]fix wrong variable name in docs
-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 d1cbe506b4..07950c6066 100644 --- a/guides/source/active_record_querying.md +++ b/guides/source/active_record_querying.md @@ -118,7 +118,7 @@ You can also use this method to query for multiple objects. Call the `find` meth ```ruby # Find the clients with primary keys 1 and 10. -client = Client.find([1, 10]) # Or even Client.find(1, 10) +clients = Client.find([1, 10]) # Or even Client.find(1, 10) # => [#<Client id: 1, first_name: "Lifo">, #<Client id: 10, first_name: "Ryan">] ``` |