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
Aaron Patterson 04b410f833 fields_for_style needs to test for AC::Parameters
While iterating an AC::Parameters object, the object will mutate itself
and stick AC::Parameters objects where there used to be hashes:

  f57092ad72/actionpack/lib/action_controller/metal/strong_parameters.rb (L632)

If you use `permit` after this iteration, the `fields_for_style` method
wouldn't return true because the child objects are now AC::Parameters
objects rather than Hashes.

fixes #23701
2016-02-17 16:15:51 -08:00
..
accessors_test.rb Implement ActionController::Parameters#inspect 2016-02-17 14:01:14 +01:00
always_permitted_parameters_test.rb
log_on_unpermitted_params_test.rb
multi_parameter_attributes_test.rb
mutators_test.rb
nested_parameters_test.rb
parameters_permit_test.rb fields_for_style needs to test for AC::Parameters 2016-02-17 16:15:51 -08:00
raise_on_unpermitted_params_test.rb