From 7cceb729e64b8eef028dab042b79d8def0730372 Mon Sep 17 00:00:00 2001 From: Makoto Nihei Date: Sat, 27 May 2017 12:03:57 +0900 Subject: [ci skip]fix wrong variable name in docs --- guides/source/active_record_querying.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'guides/source/active_record_querying.md') diff --git a/guides/source/active_record_querying.md b/guides/source/active_record_querying.md index d1cbe506b4..412ad0b006 100644 --- a/guides/source/active_record_querying.md +++ b/guides/source/active_record_querying.md @@ -150,7 +150,7 @@ The `take` method returns `nil` if no record is found and no exception will be r You can pass in a numerical argument to the `take` method to return up to that number of results. For example ```ruby -client = Client.take(2) +clients = Client.take(2) # => [ # #, # # @@ -189,7 +189,7 @@ If your [default scope](active_record_querying.html#applying-a-default-scope) co You can pass in a numerical argument to the `first` method to return up to that number of results. For example ```ruby -client = Client.first(3) +clients = Client.first(3) # => [ # #, # #, @@ -240,7 +240,7 @@ If your [default scope](active_record_querying.html#applying-a-default-scope) co You can pass in a numerical argument to the `last` method to return up to that number of results. For example ```ruby -client = Client.last(3) +clients = Client.last(3) # => [ # #, # #, -- cgit v1.2.3