aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/invalid_connection_test.rb
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-09-07 16:16:39 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-09-07 16:50:40 +0900
commit700c55831f993d52dcc1eb301346fbcfd54b82d9 (patch)
tree72f0ea1034149d5d7c59cb10932b554278189876 /activerecord/test/cases/invalid_connection_test.rb
parent06658f1d9db580ff570d783db30fd241a041e3b5 (diff)
downloadrails-700c55831f993d52dcc1eb301346fbcfd54b82d9.tar.gz
rails-700c55831f993d52dcc1eb301346fbcfd54b82d9.tar.bz2
rails-700c55831f993d52dcc1eb301346fbcfd54b82d9.zip
call `.to_h` to avoid using deprecated method
`ActionController::Parameters#merge` call `HashWithIndifferentAccess#merge`. In addition, it calls `HashWithIndifferentAccess#update` from `HashWithIndifferentAccess#merge`, where it is called the `#to_hash` of argument. But `ActionController::Parameters#to_hash` is deprecated, warning message is displayed. To avoid this, modify to convert object to `Hash`. Fixes #26415
Diffstat (limited to 'activerecord/test/cases/invalid_connection_test.rb')
0 files changed, 0 insertions, 0 deletions