zooniverse / talk-api

Apache License 2.0
6 stars 0 forks source link

Rails 5 - Update searches_controller search_href to use permitted params and then convert to hash because params no longer inherits from HashWithIndifferentAccess #356

Closed yuenmichelle1 closed 1 month ago

yuenmichelle1 commented 1 month ago

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

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