:remote => true, Ajax submit . javascript . - :
<%= form_for [item.list, item], :remote => true, :html => { :'data-type' => 'json', :id => 'change-completed-form' } do |f| %>
<td><%= f.label :name, item.name %></td>
<td><%= f.check_box :completed, :onClick => "this.form.submit_button.click();" %></td>
<%= f.submit :id => 'submit_button', :style => 'display: none;' %>
<% end %>