gitlab-org--gitlab-foss/rubocop/cop
Sean McGivern d8be981466 Prevent update_column_in_batches on large tables
add_column_with_default is implemented in terms of update_column_in_batches, but
update_column_in_batches can be used independently. Neither of these should be
used on the specified large tables, because they will cause issues on large
instances like GitLab.com.

This also ignores the cop for all existing migrations, renaming
AddColumnWithDefaultToLargeTable where appropriate.
2017-11-17 16:56:50 +00:00
..
migration Prevent update_column_in_batches on large tables 2017-11-17 16:56:50 +00:00
rspec Add a new RSpec::EnvAssignment cop to prevent assigning to ENV in specs 2017-10-18 18:42:09 +02: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