gitlab-org--gitlab-foss/spec/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 Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
rspec Require rubocop-rspec in the correct location 2017-06-14 17:08:34 -05:00
active_record_dependent_spec.rb Added Cop to blacklist the use of `dependent:` 2017-07-06 12:01:36 +02:00
active_record_serialize_spec.rb Rename ActiverecordSerialize cop 2017-07-06 12:01:36 +02:00
custom_error_class_spec.rb Add RuboCop cop for custom error classes 2017-03-01 10:53:10 +00:00
gem_fetcher_spec.rb Add a spec for our custom GemFetcher cop 2017-02-09 12:11:19 -05:00
in_batches_spec.rb Added EachBatch for iterating tables in batches 2017-07-07 16:39:36 +02:00
polymorphic_associations_spec.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
project_path_helper_spec.rb Add ProjectPathHelper cop 2017-07-05 11:12:00 -05:00
redirect_with_status_spec.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