From a1ae17e32797c1e0607c08bbcce1f257eecedf7d Mon Sep 17 00:00:00 2001 From: Greenie0506 Date: Tue, 15 May 2012 13:45:12 -0400 Subject: Add separator argument to grouped_options_for_select Change prompt to options hash in grouped_options_for_select --- .../lib/action_view/helpers/form_options_helper.rb | 19 ++++++++++++-- .../test/template/form_options_helper_test.rb | 29 ++++++++++++++++++++-- 2 files changed, 44 insertions(+), 4 deletions(-) diff --git a/actionpack/lib/action_view/helpers/form_options_helper.rb b/actionpack/lib/action_view/helpers/form_options_helper.rb index 7e33ca2fac..f39a1d95ea 100644 --- a/actionpack/lib/action_view/helpers/form_options_helper.rb +++ b/actionpack/lib/action_view/helpers/form_options_helper.rb @@ -492,13 +492,28 @@ module ActionView # # Note: Only the and tags are returned, so you still have to # wrap the output in an appropriate