BigW Consortium Gitlab
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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
migration | Loading commit data... | |
rspec | Loading commit data... | |
active_record_dependent_spec.rb | Loading commit data... | |
active_record_serialize_spec.rb | Loading commit data... | |
custom_error_class_spec.rb | Loading commit data... | |
gem_fetcher_spec.rb | Loading commit data... | |
in_batches_spec.rb | Loading commit data... | |
polymorphic_associations_spec.rb | Loading commit data... | |
project_path_helper_spec.rb | Loading commit data... | |
redirect_with_status_spec.rb | Loading commit data... |