Permalink
Browse files

use 'hour' instead of 'minutes' and 'second' for select_hour

  • Loading branch information...
1 parent bae54c5 commit 5dd8277f5b7ab800609a8a3241ba398ac4efc370 @raybaxter raybaxter committed Jul 17, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_view/helpers/date_helper.rb
@@ -485,8 +485,8 @@ def select_minute(datetime, options = {}, html_options = {})
# # Generates a select field for hours that defaults to the number given.
# select_hour(13)
#
- # # Generates a select field for hours that defaults to the minutes for the time in my_time
- # # that is named 'stride' rather than 'second'.
+ # # Generates a select field for hours that defaults to the hour for the time in my_time
+ # # that is named 'stride' rather than 'hour'.
# select_hour(my_time, :field_name => 'stride')
#
# # Generates a select field for hours with a custom prompt. Use <tt>:prompt => true</tt> for a

0 comments on commit 5dd8277

Please sign in to comment.