title: Ruby on Rails: How do I sum up these elements in my database?
body: <p>I have a video_votes table with all the votes with a column called value set to 1 or -1. I want to sum up all the values of the video's votes and display that net vote count. First, how should I sum this up, and second, should I store this value in my video table? If so, how?</p>