Hi, I want to change my delete not to delete but to update a field on the record called "deleted"
<%= link_to 'Destroy', document, :confirm => 'Are you sure?', :method => :delete %>
Seems like this should work, but it doesnt: <%= link_to 'Destroy', document, :deleted => true, :confirm => 'Are you sure?', :method => :post %>