From 0297e8e4ddc034bcb8ed477efff91d8fe104cb39 Mon Sep 17 00:00:00 2001
From: Matthias Schmidt <mail@m-schmidt.eu>
Date: Sat, 28 Apr 2012 11:29:11 +0200
Subject: Correct small consistency issue in AR querying guide

---
 guides/source/active_record_querying.textile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'guides/source/active_record_querying.textile')

diff --git a/guides/source/active_record_querying.textile b/guides/source/active_record_querying.textile
index 98937266ba..a0517eea1d 100644
--- a/guides/source/active_record_querying.textile
+++ b/guides/source/active_record_querying.textile
@@ -926,7 +926,7 @@ This code looks fine at the first sight. But the problem lies within the total n
 
 Active Record lets you specify in advance all the associations that are going to be loaded. This is possible by specifying the +includes+ method of the +Model.find+ call. With +includes+, Active Record ensures that all of the specified associations are loaded using the minimum possible number of queries.
 
-Revisiting the above case, we could rewrite +Client.all+ to use eager load addresses:
+Revisiting the above case, we could rewrite +Client.limit(10)+ to use eager load addresses:
 
 <ruby>
 clients = Client.includes(:address).limit(10)
-- 
cgit v1.2.3

