gitlab-org--gitlab-foss/rubocop/cop
Yorick Peterse ff78af152c
Added EachBatch for iterating tables in batches
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.
2017-07-07 16:39:36 +02:00
..
migration Add database helpers 'add_timestamps_with_timezone' and 'timestamps_with_timezone' 2017-06-13 22:44:13 +11:00
rspec Require rubocop-rspec in the correct location 2017-06-14 17:08:34 -05:00
active_record_dependent.rb Added Cop to blacklist the use of dependent: 2017-07-06 12:01:36 +02:00
active_record_serialize.rb Rename ActiverecordSerialize cop 2017-07-06 12:01:36 +02:00
custom_error_class.rb Add RuboCop cop for custom error classes 2017-03-01 10:53:10 +00:00
gem_fetcher.rb Revert "Enable Style/DotPosition" 2017-02-23 09:33:19 -06:00
in_batches.rb Added EachBatch for iterating tables in batches 2017-07-07 16:39:36 +02:00
polymorphic_associations.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
project_path_helper.rb Add ProjectPathHelper cop 2017-07-05 11:12:00 -05:00
redirect_with_status.rb Add a rubocop rule to check if a method 'redirect_to' is used without explicitly set 'status' in 'destroy' actions of controllers 2017-06-07 09:45:16 +11:00