From 1f98bf101a6093ea4b3f1f49c27ba3234376df6b Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Fri, 21 Dec 2007 12:26:18 +0000 Subject: Ruby 1.9 compat: date helper git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8467 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/helpers/date_helper.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'actionpack/lib/action_view/helpers') diff --git a/actionpack/lib/action_view/helpers/date_helper.rb b/actionpack/lib/action_view/helpers/date_helper.rb index c2091dfd49..98aa98af1d 100755 --- a/actionpack/lib/action_view/helpers/date_helper.rb +++ b/actionpack/lib/action_view/helpers/date_helper.rb @@ -341,7 +341,7 @@ module ActionView %(\n) ) end - select_html(options[:field_name] || 'second', second_options, options) + select_html(options[:field_name] || 'second', second_options.join, options) end end @@ -375,7 +375,7 @@ module ActionView %(\n) ) end - select_html(options[:field_name] || 'minute', minute_options, options) + select_html(options[:field_name] || 'minute', minute_options.join, options) end end @@ -408,7 +408,7 @@ module ActionView %(\n) ) end - select_html(options[:field_name] || 'hour', hour_options, options) + select_html(options[:field_name] || 'hour', hour_options.join, options) end end @@ -441,7 +441,7 @@ module ActionView %(\n) ) end - select_html(options[:field_name] || 'day', day_options, options) + select_html(options[:field_name] || 'day', day_options.join, options) end end @@ -501,7 +501,7 @@ module ActionView %(\n) ) end - select_html(options[:field_name] || 'month', month_options, options) + select_html(options[:field_name] || 'month', month_options.join, options) end end @@ -543,7 +543,7 @@ module ActionView %(\n) ) end - select_html(options[:field_name] || 'year', year_options, options) + select_html(options[:field_name] || 'year', year_options.join, options) end end -- cgit v1.2.3