About form_for and date

<% form_for (@task) do |f| %>
…
<%= select_date (date.today) :task_date %>
<% end %>

The above code won’t work, what’s the right syntax?

Please only post in one spot. I saw this on railsforum.com too.

Ryan B.
Freelancer
Skype: radarlistener
MSN & Gtalk: [email protected]