gitlab-org--gitlab-foss/rubocop
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
..
cop Forbid the use of `#reload` and prefer `#reset` 2019-04-15 13:05:14 +02:00
code_reuse_helpers.rb
migration_helpers.rb
qa_helpers.rb
rubocop.rb Forbid the use of `#reload` and prefer `#reset` 2019-04-15 13:05:14 +02:00
spec_helpers.rb