def build_active_record_enumerator_on_batches(scope, cursor:, **args)
      enum = build_active_record_enumerator(
        scope,
        cursor: cursor,
        **args
      ).batches
      wrap(self, enum)
    end
def build_active_record_enumerator_on_batches(scope, cursor:, **args)
      enum = build_active_record_enumerator(
        scope,
        cursor: cursor,
        **args
      ).batches
      wrap(self, enum)
    end
Builds Enumerator from Active Record Relation and enumerates on batches.
 Each Enumerator tick moves the cursor +batch_size+ rows forward.

 +batch_size:+ sets how many records will be fetched in one batch. Defaults to 100.

 For the rest of arguments, see documentation for #build_active_record_enumerator_on_records