I have gone through the coding examples, and have tried to find out a way to imitate the **** effect of "burying" a story. Basically, it's just a way to decrease the vote by one each time a "bury" button is clicked.

What could I change below to create code to destroy the record? I've used .destroy but it doesn't work!
def vote
@story= Story.find(params[:id])