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 Remove const_missing which fallback to deprecated NEVER_UNPERMITTED_PARAMS 2016-02-15 04:17:24 +09:00
log_on_unpermitted_params_test.rb Simple Sungularize ActionController::UnpermittedParameters error in case when only 1 parameter is unpermitted. 2014-02-24 13:25:38 +04:00
multi_parameter_attributes_test.rb Permit string and float values in the multiparameter attributes 2012-10-18 00:31:46 -03:00
mutators_test.rb Remove skip on tests that have been fixed. 2015-10-24 08:08:26 +08:00
nested_parameters_test.rb Make AC::Parameters not inherited from Hash 2015-07-15 11:11:36 -04:00
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 Restore and adapt the implementation reverted at 2013-01-19 15:32:27 -02:00