ff78af152c
This module provides a class method called `each_batch` that can be used to iterate tables in batches in a more efficient way compared to Rails' `in_batches` method. This commit also includes a RuboCop cop to blacklist the use of `in_batches` in favour of this new method. |
||
---|---|---|
.. | ||
migration | ||
rspec | ||
active_record_dependent.rb | ||
active_record_serialize.rb | ||
custom_error_class.rb | ||
gem_fetcher.rb | ||
in_batches.rb | ||
polymorphic_associations.rb | ||
project_path_helper.rb | ||
redirect_with_status.rb |