Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Active Record Query Interface Guide: Corrected the explanation for th…

…e OFFSET example.
  • Loading branch information...
commit 438bff6ccd0ba495c684a0377fd94cf302e340c5 1 parent 6de6fa8
Michael Hutchinson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/guides/source/active_record_querying.textile
2  railties/guides/source/active_record_querying.textile
@@ -465,7 +465,7 @@ Or chaining both +limit+ and +offset+:
-This code will return a maximum of 5 clients and because it specifies an offset this time, it will return these records starting from the 5th client in the clients table. The SQL looks like:
+This code will return a maximum of 5 clients beginning with the 6th client in the clients table, skipping the first five clients as specified by the offset. The SQL looks like:
SELECT * FROM clients LIMIT 5, 5

0 comments on commit 438bff6

Please sign in to comment.
Something went wrong with that request. Please try again.