1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/controller/parameters
yuuji.yaginuma 700c55831f 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
2016-09-07 16:50:40 +09:00
..
accessors_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
always_permitted_parameters_test.rb Fix broken alignments caused by auto-correct commit 411ccbd 2016-08-10 06:36:39 +09:00
dup_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
log_on_unpermitted_params_test.rb Merge pull request #26094 from igorkasyanchuk/master 2016-08-16 06:35:01 -03:00
multi_parameter_attributes_test.rb Fix broken alignments caused by auto-correct commit 411ccbd 2016-08-10 06:36:39 +09:00
mutators_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
nested_parameters_permit_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
parameters_permit_test.rb call .to_h to avoid using deprecated method 2016-09-07 16:50:40 +09:00
raise_on_unpermitted_params_test.rb Fix broken alignments caused by auto-correct commit 411ccbd 2016-08-10 06:36:39 +09:00
serialization_test.rb applies new string literal convention in actionpack/test 2016-08-06 18:54:50 +02:00