8 Jul 23:20
How to get a default blank for select_date?
From: stevel <isignin@...>
Subject: How to get a default blank for select_date?
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-07-08 21:21:05 GMT
Subject: How to get a default blank for select_date?
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-07-08 21:21:05 GMT
I'm trying to get a blank date as the default when using the select_date helper as follows: select_date Date.today, :prefix => 'startdate', :order => [:month, :day, :year], :include_blank => true This gives me the current date as the default. It is my understanding (or misunderstanding) that adding the :include_blank => true will default the values to blanks. But it doesn't seem to be doing that. Although including this option does allow me to select a blank value. Just not defaulting to blanks, which is what I'm trying to accomplish. Thanks in advance for any help. Steve --~--~---------~--~----~------------~-------~--~----~ 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@... To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@... For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Steve
On Jul 8, 5:25 pm, "Pardee, Roy" <
RSS Feed