method
find_nth_with_limit_and_offset
rails latest stable - Class:
ActiveRecord::FinderMethods
find_nth_with_limit_and_offset(index, limit, offset:)private
No documentation available.
# File activerecord/lib/active_record/relation/finder_methods.rb, line 585
def find_nth_with_limit_and_offset(index, limit, offset)) # :nodoc:
if loaded?
@records[index, limit]
else
index += offset
find_nth_with_limit(index, limit)
end
end