Skip to content

Commit

Permalink
make documentation agree with test expectations and
Browse files Browse the repository at this point in the history
behaviour

See: test_select_date_with_incomplete_order in
actionpack/test/template/date_helper_test.rb
  • Loading branch information
raybaxter authored and fxn committed Jul 23, 2011
1 parent e6caf3c commit a7d4008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionpack/lib/action_view/helpers/date_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand Down

0 comments on commit a7d4008

Please sign in to comment.