aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
diff options
context:
space:
mode:
authorRay Baxter <ray.baxter@gmail.com>2011-07-17 00:06:46 -0700
committerRay Baxter <ray.baxter@gmail.com>2011-07-17 00:06:46 -0700
commit2e6475ec06485f4f7e330638dfc86cff4dfe2b31 (patch)
tree5f5224ac158e3fbc2a6f9c5f4cd0f321cf7dd77b /actionpack/lib/action_view
parent4341a5abaa1d143a9daa13986eabaf210143da4e (diff)
downloadrails-2e6475ec06485f4f7e330638dfc86cff4dfe2b31.tar.gz
rails-2e6475ec06485f4f7e330638dfc86cff4dfe2b31.tar.bz2
rails-2e6475ec06485f4f7e330638dfc86cff4dfe2b31.zip
make documentation agree with test expectations and
behaviour See: test_select_date_with_incomplete_order in actionpack/test/template/date_helper_test.rb
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r--actionpack/lib/action_view/helpers/date_helper.rb4
1 files changed, 2 insertions, 2 deletions
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 <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.
#