This functionality should be handled in comment.rb. The controller should just be calling the methods. How the score is changed is something that deals with the behavior and data of the model and should be handled by the model.