Updated and locked version of acts_as_votable