Flowdock
method

find_nth_with_limit

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: ActiveRecord::FinderMethods
find_nth_with_limit(offset, limit) protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/relation/finder_methods.rb, line 492
    def find_nth_with_limit(offset, limit)
      relation = if order_values.empty? && primary_key
                   order(arel_table[primary_key].asc)
                 else
                   self
                 end

      relation = relation.offset(offset) unless offset.zero?
      relation.limit(limit).to_a
    end
Register or log in to add new notes.