我想要循环中的问题ID
<div class = "y">
<% @slno = 0 %>
<%- @answers.each do |b| -%>
<% @slno= @slno + 1 %>
<div class = "label_field_pair">
<label for "questions">
<%= @slno %> ) <%= b.ques %>
</label> <br>
<div class = "label_field_pair2">
<label for "options">
<%= radio_button_tag "question#{b.id}", "#{b.id}ans1"%><%= b.ans1 %>
<%= radio_button_tag "question#{b.id}", "#{b.id}ans2"%><%= b.ans2 %>
<%= radio_button_tag "question#{b.id}", "#{b.id}ans3"%><%= b.ans3 %>
<%= radio_button_tag "question#{b.id}", "#{b.id}ans4"%><%= b.ans4 %>
</label>
</div>
</div>
<% end %>
<div id = "submit_button">
<%= submit_tag "", :value => "Submit" %>
</div>
</div>
在这里它显示了问题......我想要每个问题的ID分别