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 deprecation warning on except! #56

Open
atz opened this issue Aug 26, 2016 · 0 comments
Open

Rails deprecation warning on except! #56

atz opened this issue Aug 26, 2016 · 0 comments

Comments

@atz
Copy link
Member

atz commented Aug 26, 2016

DEPRECATION WARNING: 
Method except! 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 
(called from advanced_search_context at .../app/helpers/advanced_helper.rb:37)

Link http://api.rubyonrails.org/v5.0.0.1/classes/ActionController/Parameters.html

Warning appears 14 times during rake ci.

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