• P
    Silence deprecation warning from force reload · b5b89796
    Prem Sichanugrist 提交于
    We deprecate the support for passing an argument to force reload in
    6eae366d. That led to several
    deprecation warning when running Active Record test suite.
    
    This commit silence the warnings by properly calling `#reload` on the
    association proxy or on the association object instead. However, there
    are several places that `ActiveSupport::Deprecation.silence` are used as
    those tests actually tests the force reload functionality and will be
    removed once `master` is targeted next minor release (5.1).
    b5b89796
has_many_associations_test.rb 73.3 KB