From 2e6475ec06485f4f7e330638dfc86cff4dfe2b31 Mon Sep 17 00:00:00 2001 From: Ray Baxter Date: Sun, 17 Jul 2011 00:06:46 -0700 Subject: make documentation agree with test expectations and behaviour See: test_select_date_with_incomplete_order in actionpack/test/template/date_helper_test.rb --- actionpack/lib/action_view/helpers/date_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/lib/action_view') diff --git a/actionpack/lib/action_view/helpers/date_helper.rb b/actionpack/lib/action_view/helpers/date_helper.rb index 1870493e8e..662c32760c 100644 --- a/actionpack/lib/action_view/helpers/date_helper.rb +++ b/actionpack/lib/action_view/helpers/date_helper.rb @@ -343,8 +343,8 @@ module ActionView # Returns a set of html select-tags (one for year, month, and day) pre-selected with the +date+. # It's possible to explicitly set the order of the tags using the :order option with an array of - # symbols :year, :month and :day in the desired order. If you do not supply a Symbol, - # it will be appended onto the :order passed in. + # symbols :year, :month and :day in the desired order. If you do not supply a symbol + # then all tags will be hidden. # # If anything is passed in the html_options hash it will be applied to every select tag in the set. # -- cgit v1.2.3