diff options
author | Prem Sichanugrist <s@sikac.hu> | 2015-07-16 11:08:49 -0400 |
---|---|---|
committer | Prem Sichanugrist <s@sikac.hu> | 2015-07-16 16:06:26 -0400 |
commit | b5b89796210f8893e917bf42e90ebcead8654ab9 (patch) | |
tree | 5d2f8f9491a01b88caa3e8d6aa2f32b1b526461c /activesupport/test/testing | |
parent | 424b379c73851ac24ab707b2743de2c9d8875e2f (diff) | |
download | rails-b5b89796210f8893e917bf42e90ebcead8654ab9.tar.gz rails-b5b89796210f8893e917bf42e90ebcead8654ab9.tar.bz2 rails-b5b89796210f8893e917bf42e90ebcead8654ab9.zip |
Silence deprecation warning from force reload
We deprecate the support for passing an argument to force reload in
6eae366d0d2e5d5211eeaf955f56bd1dc6836758. 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).
Diffstat (limited to 'activesupport/test/testing')
0 files changed, 0 insertions, 0 deletions