method

touch_all

rails latest stable - Class: ActiveRecord::Batches::BatchEnumerator

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

touch_all(...)
public

Touches records in batches. Returns the total number of rows affected.

Person.in_batches.touch_all

See Relation#touch_all for details of how each batch is touched.