diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md index 31e123d916265..cda3ec51095c5 100644 --- a/actionview/CHANGELOG.md +++ b/actionview/CHANGELOG.md @@ -1,3 +1,8 @@ +* Remove passing the prompt to `grouped_options_for_select` as an argument, because + it was deprecated. + + *kennyj* + * Always escape the result of `link_to_unless` method. Before: diff --git a/actionview/lib/action_view/helpers/form_options_helper.rb b/actionview/lib/action_view/helpers/form_options_helper.rb index ab5aae9b13686..4e9ef94ff3335 100644 --- a/actionview/lib/action_view/helpers/form_options_helper.rb +++ b/actionview/lib/action_view/helpers/form_options_helper.rb @@ -510,15 +510,8 @@ def option_groups_from_collection_for_select(collection, group_method, group_lab # Note: Only the and tags are returned, so you still have to # wrap the output in an appropriate