My delete/destroy is not working for rails 3.
Not for any scaffold or even for new projects.
<%= link_to 'Destroy', card, :confirm => 'Are you sure?', :method => :delete %>
From this question. Solution is Firefox reinstalation. But mine is also not working in chrome, safari or opera.
Html code generated:--
<a href="/categories/1" data-confirm="Are you sure?" data-method="delete" rel="nofollow">Destroy</a>