注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
Is there a method (or way to pull off similar functionality) to do a fields_for_with_index? Examp... Is there a method (or way to pull off similar functionality) to do a fields_for_with_index? Example: <% f.fields_for_with_index :questions do |builder, index| %> <%= render 'some_form', :f => builder, :i => index %> <% end %> That partial being rendered needs to know what the current index is in the fields_for loop.
2015/06/19 リンク