From 39c64fff8ab1bba9057201dd2580f55e196c302a Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Fri, 18 May 2007 19:06:54 +0000 Subject: [PATCH] Clarify :offset docs. Closes #3733. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6769 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/lib/active_record/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index 365af0a93e..94b3ac1057 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -374,7 +374,7 @@ module ActiveRecord #:nodoc: # * :order: An SQL fragment like "created_at DESC, name". # * :group: An attribute name by which the result should be grouped. Uses the GROUP BY SQL-clause. # * :limit: An integer determining the limit on the number of rows that should be returned. - # * :offset: An integer determining the offset from where the rows should be fetched. So at 5, it would skip the first 4 rows. + # * :offset: An integer determining the offset from where the rows should be fetched. So at 5, it would skip rows 0 through 4. # * :joins: An SQL fragment for additional joins like "LEFT JOIN comments ON comments.post_id = id". (Rarely needed). # The records will be returned read-only since they will have attributes that do not correspond to the table's columns. # Pass :readonly => false to override.