def thumbs_down @article = Article.find(params[:id]) Article.update(params[:id], { 'thumbs' => @article.thumbs -1 }) end