注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
To create a check_box and to give it a unique name and a valid value, use something like: <%= che... To create a check_box and to give it a unique name and a valid value, use something like: <%= check_box('item_'+i.to_s, 'checked', {}, item.name, '') %> You can read its value in the action using: checked = @params['item_'+i.to_s]['checked'] We can use any value for the check_box; it can be just a flag, an id or any other value. I have used the name of the item because I need it as a key to find
2008/06/18 リンク