From 9b84bd354da4ccc9a1acb4bfc836139d59d6efe3 Mon Sep 17 00:00:00 2001 From: Philip Roberts Date: Mon, 9 May 2011 03:21:16 -0700 Subject: 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. --- actionpack/lib/action_view/helpers/date_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack') 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) # -- cgit v1.2.3