Answers for "rails destroy not working"

1

rails destroy not working

<div>
<%= button_to "Destroy", @article , 
                        method: :delete, 
                        data: { confirm: 'Are you sure?' } %>
</div>
Posted by: Guest on March-02-2022

Browse Popular Code Answers by Language