650f40865e
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. |
||
---|---|---|
.. | ||
code_reuse | ||
gitlab | ||
migration | ||
qa | ||
rspec | ||
active_record_association_reload_spec.rb | ||
avoid_break_from_strong_memoize_spec.rb | ||
avoid_return_from_blocks_spec.rb | ||
avoid_route_redirect_leading_slash_spec.rb | ||
destroy_all_spec.rb | ||
group_public_or_visible_to_user_spec.rb | ||
include_sidekiq_worker_spec.rb | ||
inject_enterprise_edition_module_spec.rb | ||
line_break_around_conditional_block_spec.rb | ||
prefer_class_methods_over_module_spec.rb | ||
project_path_helper_spec.rb | ||
ruby_interpolation_in_translation_spec.rb | ||
safe_params_spec.rb | ||
sidekiq_options_queue_spec.rb |