This issue can be resolved with rails default way
1) 1st way to resolve
add these lines to the file
//= require jquery //= require jquery_ujs
and after that in your application’s layout file add this line
2) 2nd way to resolve
Felix, are you using JQuery? If so, I think the problem could be that you are using JQuery without the updated rails.js file.
I included jQuery UI in my application, I found that delete is now working as show, but after doing above Resolved Issue.