Skip to content

Replace the `default_value_for` gem with the `gitlab-default_value_with` gem which handles `ActionController::Parameters` correctly

EE port: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8473

What does this MR do?

Use gitlab-default_value_with Rails 5

This forks live at https://github.com/gitlabhq/default_value_for/tree/69-fix-action_controller-parameters-handling
and fixes an issue where default_value_for wouldn't handle
`ActionController::Parameters` correctly with Rails 5.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/54093.

Does this MR meet the acceptance criteria?

Edited by Rémy Coutable

Merge request reports