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 - Update searches_controller search_href to use permitted params and then convert to hash because params no longer inherits from HashWithIndifferentAccess #356

Conversation

yuenmichelle1
Copy link
Collaborator

@yuenmichelle1 yuenmichelle1 commented Aug 8, 2024

update search_href to use permitted params and then call to_h… because params no longer inherit from HashWithIndifferentAccess

See: rails/rails#20868 and https://www.bigbinary.com/blog/parameters-no-longer-inherit-from-hash-with-indifferent-access-in-rails-5 for more details

… because params no longer inherit from HashWithIndifferentAccess
@yuenmichelle1 yuenmichelle1 marked this pull request as ready for review August 8, 2024 18:32
Copy link
Contributor

@Tooyosi Tooyosi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, similar changes on this pr:#337

@yuenmichelle1 yuenmichelle1 merged commit da07d7d into master Aug 9, 2024
2 checks passed
@yuenmichelle1 yuenmichelle1 deleted the rails-5---deprecated-method-collect-in-searches_controller branch September 23, 2024 16:45
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.

2 participants