Skip to content

Fix deprecation: Comparing equality between ActionController::Parameters and a Hash is deprecated

What does this MR do?

Fixes deprecation: DEPRECATION WARNING: Comparing equality between `ActionController::Parameters` and a `Hash` is deprecated and will be removed in Rails 5.1. Please only do comparisons between instances of `ActionController::Parameters`. If you need to compare to a hash, first convert it using `ActionController::Parameters#new`.

Similar to gitlab-org/gitlab-ce!23855

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Merge request reports

Loading