link_to delete rails 6 code example Example: rails delete link <%= link_to "Delete", person, method: :delete, data: { confirm: "Really?" } %>