diff options
author | Aditya Sanghi <aditya.sanghi@risingsunbilling.com> | 2011-05-10 07:37:27 -0700 |
---|---|---|
committer | Aditya Sanghi <aditya.sanghi@risingsunbilling.com> | 2011-05-10 07:37:27 -0700 |
commit | a59a67d01cbae485a8b46066b8a94f11db591765 (patch) | |
tree | 2bc078aa619787145f3f270fd347b8ff0c7c9547 /actionpack/lib/action_view | |
parent | 85a40f6fdaabbec0402e402c54861f8545b0fa8d (diff) | |
download | rails-a59a67d01cbae485a8b46066b8a94f11db591765.tar.gz rails-a59a67d01cbae485a8b46066b8a94f11db591765.tar.bz2 rails-a59a67d01cbae485a8b46066b8a94f11db591765.zip |
Explain the implication of using :ignore_date on time_select
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/helpers/date_helper.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/date_helper.rb b/actionpack/lib/action_view/helpers/date_helper.rb index cd38a6dedf..e499337adc 100644 --- a/actionpack/lib/action_view/helpers/date_helper.rb +++ b/actionpack/lib/action_view/helpers/date_helper.rb @@ -210,7 +210,8 @@ module ActionView # +object+). You can include the seconds with <tt>:include_seconds</tt>. # # This method will also generate 3 input hidden tags, for the actual year, month and day unless the option - # <tt>:ignore_date</tt> is set to +true+. + # <tt>:ignore_date</tt> is set to +true+. If you set the <tt>:ignore_date</tt> to +true+, you must have a + # +date_select+ on the same method within the form otherwise an exception will be raised. # # If anything is passed in the html_options hash it will be applied to every select tag in the set. # |