Can one specify to date_select that a nil value is permitted and is the default value? Is it possible to add nil to the list of permitted values in a date_select call? The code in /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/helpers/date_helper.rb seems to treat nil as now. 654 def default_time_from_options(default) 655 case default 656 when nil 657 Time.now 658 when Date, Time 659 default I have a situation where a record may have a superseded date but which is left as null if the date is not set. It is also possible that the value may need to be reset to nil if the record is activated again. I would like to retain the convenience of the date picker in rails but I need to ahve this functionality. How does one accomplish this? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---