From 94c72c45bb1106a67e2dcf504419c5b141c1fc66 Mon Sep 17 00:00:00 2001 From: kennyj Date: Fri, 28 Jun 2013 02:50:58 +0900 Subject: [PATCH] Remove passing the prompt to grouped_options_for_select as an argument, because it was deprecated. --- actionview/CHANGELOG.md | 5 +++++ .../action_view/helpers/form_options_helper.rb | 11 ++--------- .../test/template/form_options_helper_test.rb | 17 ----------------- 3 files changed, 7 insertions(+), 26 deletions(-) diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md index 31e123d916..cda3ec5109 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 ab5aae9b13..4e9ef94ff3 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 @@ module ActionView # Note: Only the and tags are returned, so you still have to # wrap the output in an appropriate