Ajax Call, JavaScript, Ruby on Rails, Controller.
StudentsController < ApplicationController ... def destroy @student = Student.find(params[:id]) @student.destroy #It will dictate what format the action will respond to respond_to do |format| format.html # when responding to a html request, it will respond by going into