> Hey, you don't happen to know of a simple way of implementing a date
> picker for a field in a form do you? I was hoping to accomplish this
> without needing to track down a plugin for the task.
>
> On a related note: how can I set the default value of a field to be
> today's date (just the date, no time value)

Did you try date_select?
<%=f.date_select :name_of_field %>
It defaults to today date if the field is of type date
It is not too fancy, but it works...

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to