aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
diff options
context:
space:
mode:
authorPhilip Roberts <latentflip@gmail.com>2011-05-09 03:21:16 -0700
committerPhilip Roberts <latentflip@gmail.com>2011-05-09 03:21:16 -0700
commit9b84bd354da4ccc9a1acb4bfc836139d59d6efe3 (patch)
tree273e8a0e805bd5e220e7b4b0578527215c5c292f /actionpack/lib/action_view/helpers
parentf40a3ea81c9f9a8d6b041b8b5f0750de8d25bee0 (diff)
downloadrails-9b84bd354da4ccc9a1acb4bfc836139d59d6efe3.tar.gz
rails-9b84bd354da4ccc9a1acb4bfc836139d59d6efe3.tar.bz2
rails-9b84bd354da4ccc9a1acb4bfc836139d59d6efe3.zip
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.
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r--actionpack/lib/action_view/helpers/date_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/date_helper.rb b/actionpack/lib/action_view/helpers/date_helper.rb
index 9277359d5c..cd38a6dedf 100644
--- a/actionpack/lib/action_view/helpers/date_helper.rb
+++ b/actionpack/lib/action_view/helpers/date_helper.rb
@@ -186,7 +186,7 @@ module ActionView
# # 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)
#