diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-10-13 10:13:03 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-10-13 10:13:03 -0700 |
commit | aa9101eb7e9b219a1d628f9ba60f891083350ab2 (patch) | |
tree | e5e00be32e556a3e062be65217c51e36c3800ad0 /actionview/lib/action_view/helpers | |
parent | efad3b916f349719320b1ab208f02b108697d38a (diff) | |
parent | 97943f19b764e10c655846a47530122d861007b8 (diff) | |
download | rails-aa9101eb7e9b219a1d628f9ba60f891083350ab2.tar.gz rails-aa9101eb7e9b219a1d628f9ba60f891083350ab2.tar.bz2 rails-aa9101eb7e9b219a1d628f9ba60f891083350ab2.zip |
Merge pull request #12491 from shamanime/patch-1
Fix wrong variable name used in the select_day method documentation
Diffstat (limited to 'actionview/lib/action_view/helpers')
-rw-r--r-- | actionview/lib/action_view/helpers/date_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/lib/action_view/helpers/date_helper.rb b/actionview/lib/action_view/helpers/date_helper.rb index 8e1aea50a9..d7e8e99200 100644 --- a/actionview/lib/action_view/helpers/date_helper.rb +++ b/actionview/lib/action_view/helpers/date_helper.rb @@ -531,7 +531,7 @@ module ActionView # my_date = Time.now + 2.days # # # Generates a select field for days that defaults to the day for the date in my_date. - # select_day(my_time) + # select_day(my_date) # # # Generates a select field for days that defaults to the number given. # select_day(5) @@ -541,7 +541,7 @@ module ActionView # # # Generates a select field for days that defaults to the day for the date in my_date # # that is named 'due' rather than 'day'. - # select_day(my_time, field_name: 'due') + # select_day(my_date, field_name: 'due') # # # Generates a select field for days with a custom prompt. Use <tt>prompt: true</tt> for a # # generic prompt. |