aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
diff options
context:
space:
mode:
authorRay Baxter <ray.baxter@gmail.com>2011-07-16 23:08:30 -0700
committerRay Baxter <ray.baxter@gmail.com>2011-07-16 23:08:30 -0700
commit5dd8277f5b7ab800609a8a3241ba398ac4efc370 (patch)
treedffe7f83e8bf4e104f43a4633bc8aa420d6c8d2b /actionpack/lib/action_view
parentbae54c5430847ea5c3b71ae2d28d30f77628cc88 (diff)
downloadrails-5dd8277f5b7ab800609a8a3241ba398ac4efc370.tar.gz
rails-5dd8277f5b7ab800609a8a3241ba398ac4efc370.tar.bz2
rails-5dd8277f5b7ab800609a8a3241ba398ac4efc370.zip
use 'hour' instead of 'minutes' and 'second' for select_hour
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 6a724749f4..336bbc7f18 100644
--- a/actionpack/lib/action_view/helpers/date_helper.rb
+++ b/actionpack/lib/action_view/helpers/date_helper.rb
@@ -485,8 +485,8 @@ module ActionView
# # 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