When I do the following, I get what I expect for the text_field portion, but not for the date_select portion.
<%# fields_for "child[]", Interest.new do |f|%>
<%= f.text_field :name %>
<%= f.date_select :birth %>
<%# end %>
<input id="child__name" name="child[][name]" size="30" type="text" />
<select id="child_birth_1i" name="child[birth(1i)]">
...
</select>
<select id="child_birth_2i" name="child[birth(2i)]">
...
</select>
<select id="child_birth_3i" name="child[birth(3i)]">
...
</select>
The name for the select fields should be child[][birth(*i)] instead of child[birth(*i)] causing this error message:
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.