web/mooctracker_rails/app/controllers/students_controller.rb
def destroy
    @student = Student.find(params[:id])
    @student.destroy
    render json: {success: "ok"}
  end
#Send a DELETE request on /students/id to destroy the student object
Send a DELETE request on /students/id to destroy the student object
Send a DELETE request on / students / id to destroy the student object
def destroy
    @student = Student.find(params[:id])
    @student.destroy
    render json: {success: "ok"}
  end
def destroy @student = Student . find ( params [ :id ] ) @student . destroy render json : { success : "ok" } end
Send a DELETE request on /students/id to destroy the student object
Send a DELETE request on / students / id to destroy the student object