是否有方法(或实现类似功能的方法)来做fields_for_with_index?
例:
<% f.fields_for_with_index :questions do |builder, index| %>
<%= render 'some_form', :f => builder, :i => index %>
<% end %>
Run Code Online (Sandbox Code Playgroud)
部分呈现需要知道当前索引在fields_for循环中是什么.