method
apply_finish_limit
v6.0.0 -
Show latest stable
- Class:
ActiveRecord::Batches
apply_finish_limit(relation, finish)private
No documentation available.
# File activerecord/lib/active_record/relation/batches.rb, line 272
def apply_finish_limit(relation, finish)
relation.where(bind_attribute(primary_key, finish) { |attr, bind| attr.lteq(bind) })
end