ActsAsVotable gem provides a simple way to track users votes.