make documentation agree with test expectations and

behaviour

See: test_select_date_with_incomplete_order in 
actionpack/test/template/date_helper_test.rb
This commit is contained in:
Ray Baxter 2011-07-17 00:06:46 -07:00
parent 4341a5abaa
commit 2e6475ec06

@ -343,8 +343,8 @@ def select_datetime(datetime = Time.current, options = {}, html_options = {})
# 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 <tt>:order</tt> option with an array of
# symbols <tt>:year</tt>, <tt>:month</tt> and <tt>:day</tt> in the desired order. If you do not supply a Symbol,
# it will be appended onto the <tt>:order</tt> passed in.
# symbols <tt>:year</tt>, <tt>:month</tt> and <tt>:day</tt> 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.
#