gitlab-org--gitlab-foss/rubocop/cop
Sean McGivern 1ab33b15d1 Add cop for use of remove_column
remove_column should only be used in the up (or change) step of a migration if
it's a post-deployment migration. Otherwise there will be downtime due to the
ActiveRecord column cache, which we can avoid by using the IgnorableColumn
concern in combination with a post-deployment migration.
2017-12-11 16:34:51 +00:00
..
migration Add cop for use of remove_column 2017-12-11 16:34:51 +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
line_break_after_guard_clauses.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01: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