<% unless child_form.object.new_record? %>
<%= child_form.check_box ‘_delete’ %>
<%= child_form.label ‘_delete’, ‘Remove’ %>
<% end %>
When you search for Nested forms, you get Ryan’s page up there. But it’s over 3 years old, and you’ll find that it’s actually not ‘_delete’, but actually, ‘_destroy’.
None of the documentation anywhere mentions this, even at the Rails Guides
I should just get in the habit of reading the Rails source when nothing’s working. Gah. /rant.