1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib
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
..
abstract_controller fix permitted? conditional for render calls 2016-01-26 18:00:49 -08:00
action_controller fields_for_style needs to test for AC::Parameters 2016-02-17 16:15:51 -08:00
action_dispatch Merge pull request #23729 from maclover7/rm-unused-journey 2016-02-17 04:49:59 -02:00
action_pack Preparing for Rails 5.0.0.beta2 2016-02-01 14:37:52 -07:00
abstract_controller.rb
action_controller.rb Re-add ActionController::ApiRendering 2016-01-20 19:16:23 -05:00
action_dispatch.rb Add both HTTP Response Code and Type to assertion messages 2016-01-12 13:09:00 -07:00
action_pack.rb Update copyright notices to 2016 [ci skip] 2015-12-31 18:27:19 +02:00