Name |
Last commit
|
Last update |
---|---|---|
.. | ||
cop | ||
migration_helpers.rb | ||
model_helpers.rb | ||
rubocop.rb |
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 |
---|---|---|
.. | ||
cop | Loading commit data... | |
migration_helpers.rb | Loading commit data... | |
model_helpers.rb | Loading commit data... | |
rubocop.rb | Loading commit data... |