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

Rails 5 - to_hash is deprecated #21

Closed
ajb opened this issue Sep 14, 2016 · 1 comment
Closed

Rails 5 - to_hash is deprecated #21

ajb opened this issue Sep 14, 2016 · 1 comment

Comments

@ajb
Copy link
Contributor

ajb commented Sep 14, 2016

DEPRECATION WARNING: Method to_hash is deprecated and will be removed in Rails 5.1, as `ActionController::Parameters` no longer inherits from hash. Using this deprecated behavior exposes potential security problems. If you continue to use this method you may be creating a security vulnerability in your app that can be exploited. Instead, consider using one of these documented methods which are not deprecated: http://api.rubyonrails.org/v5.0.0.1/classes/ActionController/Parameters.html
@ajb ajb changed the title Rails 5 Rails 5 - to_hash is deprecated Sep 14, 2016
@ajb
Copy link
Contributor Author

ajb commented Sep 14, 2016

img

@ajb ajb mentioned this issue Sep 18, 2016
@ajb ajb closed this as completed in #22 Sep 18, 2016
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

No branches or pull requests

1 participant