Rails 3.2 nested form names not correct

I have a person has many questions model, I have
accepts_nested_Attributes
set up properly. the question from the db show up, but the index is not
incrementing:

<%= f.fields_for :person_questions do |pregunta| %>
Questions:

<% Question.all.each do |question| %>
<%= render ‘questions/question_type’, :pregunta => pregunta,
:question => question, :f => f %>
<% end %>
<% end %>


<%= f.label :date_of_problema, :class => ‘control-label’ %>

<%= f.datepicker :date_of_problema, :class => ‘date_select’
%>

partial:

<%= pregunta.label question.name, (question.label_text unless question.label_text.nil?), :class => 'control-label' %>
<%= pregunta.send(question.data_type, :option_selected ) %> <%= pregunta.hidden_field :question_id, :value => question.id , :class => "#{question.data_type}" %>

Is there a way to get the attribute names to be correct?

The questions come from the db.
chrome inspector:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs