Added ability to disable and reenable strong_parameters: https://github.com/rails/strong_parameters/pull/55
Goal is to allow more hassle-free inclusion of strong_parameters for testing with and without strong_parameters, because I wanted to have that before adding tests for this strong_parameters patch for activeadmin: https://github.com/gregbell/active_admin/issues/1731 Know this looks suboptimal as it still behaves differently when SP is disabled, but I thought this might better allow disabling without providing broken behavior when reenabled. It may need more tests to flesh out any issues, but this is a first attempt and it has a test to disable and re-enable that appears to work. Thanks for any feedback. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/WRRQB2zNp1cJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
