I tried date_select but I kept getting a bunch of errors. On Mar 7, 3:01 pm, Viorel <viorelvl...@gmail.com> wrote: > > 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.