method

compare_values_for_order

rails latest stable - Class: ActiveRecord::Batches

Method not available on this version

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

compare_values_for_order(values1, values2, order)
private

This is a custom implementation of `<=>` operator, which also takes into account how the collection will be ordered.