From 8d60dcd024e72be7aa90de62fe8e1005c2e254c2 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Wed, 8 Nov 2017 16:46:57 +0900 Subject: Fix output of `select_tag` with `include_blank: true` [ci skip] Since #24923, if use `select_tag` with `include_blank: true`, an empty label is added. --- actionview/lib/action_view/helpers/form_tag_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionview/lib') diff --git a/actionview/lib/action_view/helpers/form_tag_helper.rb b/actionview/lib/action_view/helpers/form_tag_helper.rb index 80d53c2c6e..e86e18dd78 100644 --- a/actionview/lib/action_view/helpers/form_tag_helper.rb +++ b/actionview/lib/action_view/helpers/form_tag_helper.rb @@ -115,7 +115,7 @@ module ActionView # # # # select_tag "people", options_from_collection_for_select(@people, "id", "name"), include_blank: true - # # => + # # => # # select_tag "people", options_from_collection_for_select(@people, "id", "name"), include_blank: "All" # # => -- cgit v1.2.3