Bug at datetime_select when used with object[] to submit multiple model

It seems like something is wrong with the datetime_select helper. the
helper does not generate name as object[][field(1i)], instead it
generates object[field(1i)], which results a 500 error as follows:

Conflicting types for parameter containers. Expected an instance of
Hash but found an instance of Array. This can be caused by colliding
Array and Hash parameters like qs[]=value&qs[key]=value. (The
parameters received were [{“name”=>"", “description”=>""}].)

I have tested both date_select and datetime_select suffer from the
same issue, anyone can confirm that?

To let everyone understand the issue clearly, here is the sample:

<% form_for “task[]”, @task,:url=>{:action=>‘save_create_multi’} do |
form| %>
<% (1…10).each do %>

<%= form.label :name, “Name”%>
<%= form.text_field :name %>
<%= form.label :description, “Description”%>
<%= form.text_field :description %>
<%= form.label :due_date %>
<%= form.date_select :due_date %>

<% end %>
<%= form.submit 'Save' %>

<% end %>

And the generated HTML:

Name Description Due date 2003 ...

Notice the due_date part does not have the extra empty square bracket.