gitlab-org--gitlab-foss/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
gitlab
migration Properly handle `ee` migration specs 2019-03-28 05:48:53 +08:00
qa
rspec
active_record_association_reload.rb Forbid the use of `#reload` and prefer `#reset` 2019-04-15 13:05:14 +02:00
avoid_break_from_strong_memoize.rb
avoid_return_from_blocks.rb
avoid_route_redirect_leading_slash.rb
destroy_all.rb
group_public_or_visible_to_user.rb
include_sidekiq_worker.rb
inject_enterprise_edition_module.rb
line_break_around_conditional_block.rb
prefer_class_methods_over_module.rb
project_path_helper.rb
ruby_interpolation_in_translation.rb
safe_params.rb
sidekiq_options_queue.rb