gitlab-org--gitlab-foss/spec/rubocop/cop
Kamil Trzciński 650f40865e Forbid the use of #reload and prefer #reset
The `#reload` makes to load all objects into memory,
and the main purpose of `#reload` is to drop the association cache.

The `#reset` seems to solve exactly that case.
2019-04-15 13:05:14 +02:00
..
code_reuse Added RuboCop cops to enforce code reuse rules 2018-09-11 15:00:18 +02:00
gitlab Added FromUnion to easily select from a UNION 2018-09-17 12:39:43 +02:00
migration Properly handle ee migration specs 2019-03-28 05:48:53 +08:00
qa Add a new QA::ElementWithPattern cop 2018-10-15 14:28:03 +02:00
rspec
active_record_association_reload_spec.rb Forbid the use of #reload and prefer #reset 2019-04-15 13:05:14 +02:00
avoid_break_from_strong_memoize_spec.rb Resolve "Make a Rubocop that forbids returning from a block" 2018-04-18 09:19:40 +00:00
avoid_return_from_blocks_spec.rb Resolve "Make a Rubocop that forbids returning from a block" 2018-04-18 09:19:40 +00:00
avoid_route_redirect_leading_slash_spec.rb Fix leading slash in redirects and add cop 2018-09-21 14:10:20 +00:00
destroy_all_spec.rb Whitelist existing destroy_all offenses 2018-08-16 17:29:37 +02:00
group_public_or_visible_to_user_spec.rb Applies the CE backport of EE#657 2018-09-24 12:02:01 +01:00
include_sidekiq_worker_spec.rb
inject_enterprise_edition_module_spec.rb Fix detecting nested EE constants in RuboCop 2019-01-16 16:48:18 +01:00
line_break_around_conditional_block_spec.rb Fix LineBreakAroundConditionalBlock cop for a conditional after rescue 2018-09-05 09:34:11 -07:00
prefer_class_methods_over_module_spec.rb Minor renames for clarity 2018-08-29 16:56:34 +02:00
project_path_helper_spec.rb
ruby_interpolation_in_translation_spec.rb Reject ruby interpolation in externalized strings 2018-08-25 18:43:21 +02:00
safe_params_spec.rb Add cop prohibiting params argument in url_for 2018-11-22 10:08:18 +01:00
sidekiq_options_queue_spec.rb