Browse files

Fix typos in date helper rdoc (via Mike Breen)

  • Loading branch information...
1 parent b064f6a commit 986b3f805d1e9d6e5c2de096dbc5857fb1b3d826 @ffmike ffmike committed Apr 8, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionpack/lib/action_view/helpers/date_helper.rb
View
6 actionpack/lib/action_view/helpers/date_helper.rb
@@ -106,8 +106,8 @@ def time_ago_in_words(from_time, include_seconds = false)
alias_method :distance_of_time_in_words_to_now, :time_ago_in_words
# Returns a set of select tags (one for year, month, and day) pre-selected for accessing a specified date-based
- # attribute (identified by +method+) on an object assigned to the template (identified by +object+). You can
- # the output in the +options+ hash.
+ # attribute (identified by +method+) on an object assigned to the template (identified by +object+).
+ #
#
# ==== Options
# * <tt>:use_month_numbers</tt> - Set to true if you want to use month numbers rather than month names (e.g.
@@ -232,7 +232,7 @@ def time_select(object_name, method, options = {}, html_options = {})
# Returns a set of select tags (one for year, month, day, hour, and minute) pre-selected for accessing a
# specified datetime-based attribute (identified by +method+) on an object assigned to the template (identified
- # by +object+). Examples:
+ # by +object+).
#
# If anything is passed in the html_options hash it will be applied to every select tag in the set.
#

0 comments on commit 986b3f8

Please sign in to comment.