Ajax Call, JavaScript, Ruby on Rails, Controller.
change, the page needs to be reloaded. With destroy.js.erb the user experience is enhanced by removing the extra step. Demo for deleting action using Ajax call on the Student Model Resources Working with JavaScript in Rails - Ruby on Rails Guides Working with JavaScript in RailsThis guide covers