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?
- Changelog entry added, if necessary
- [-] Documentation created/updated
- Tests added for this feature/bug
- Conforms to the code review guidelines
- Conforms to the merge request performance guidelines
- Conforms to the style guides
- Conforms to the database guides
- [-] Link to e2e tests MR added if this MR has Requires e2e tests label. See the Test Planning Process.
Edited by Rémy Coutable