module ActiveRecord::Batches
def apply_limits(relation, start, finish, order)
def apply_limits(relation, start, finish, order) relation = apply_start_limit(relation, start, order) if start relation = apply_finish_limit(relation, finish, order) if finish relation end