rails 3 – link_to to destroy not working

Destructive actions should be performed as a form submission – http://www.w3.org/2001/tag/doc/whenToUseGet.html#checklist

use button_to (passing a :method => :delete) instead and style the button appropriately.

Leave a Comment