Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AC::Parameters#to_unsafe_h #18017

Merged

Conversation

sikachu
Copy link
Member

@sikachu sikachu commented Dec 13, 2014

As suggested in #16299(1), this method should be a new public API for retrieving unfiltered parameters from ActionController::Parameters object, given that Parameters#to_hash will no longer work in Rails 5.0+ as we stop inheriting Parameters from Hash.


This is the same as #18006 but for 4-2-stable.

As suggested in rails#16299([1]), this method should be a new public API for
retrieving unfiltered parameters from `ActionController::Parameters`
object, given that `Parameters#to_hash` will no longer work in Rails
5.0+ as we stop inheriting `Parameters` from `Hash`.

[1]: rails#16299 (comment)
rafaelfranca added a commit that referenced this pull request Dec 13, 2014
@rafaelfranca rafaelfranca merged commit cff3fcc into rails:4-2-stable Dec 13, 2014
rafaelfranca added a commit that referenced this pull request Dec 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants