Skip to content
Browse files

Fixed typos in documentation for the date_select helper in actionpack…

…/action_view.


The description for an example of the date_select method did not match the actual code example.
  • Loading branch information...
1 parent f40a3ea commit 9b84bd354da4ccc9a1acb4bfc836139d59d6efe3 @latentflip latentflip committed May 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/date_helper.rb
View
2 actionpack/lib/action_view/helpers/date_helper.rb
@@ -186,7 +186,7 @@ def time_ago_in_words(from_time, include_seconds = false)
# # lacking a year field.
# date_select("user", "birthday", :order => [:month, :day])
#
- # # Generates a date select that when POSTed is stored in the user variable, in the birthday attribute
+ # # Generates a date select that when POSTed is stored in the post variable, in the written_on attribute
# # which is initially set to the date 3 days from the current date
# date_select("post", "written_on", :default => 3.days.from_now)
#

0 comments on commit 9b84bd3

Please sign in to comment.
Something went wrong with that request. Please try again.