I am using the Active Record Reputation System with Rails 3.1.0. I have a model that users can vote up or vote down. How do I determine how many times a particular model instance has been voted on? I would like to be able to say “x of y users up-voted this item.” How do I get y?
Share
If I have a model that has reputation and I have an instance of the model, model_instance, then it looks like I can get the total number of votes with: