Finding user total votes recieved on posts by other users
问题 I'm using this gem for comments: https://github.com/lml/commontator Which is setup to easily plug into this gem to vote on the comments: https://github.com/ryanto/acts_as_votable I'm using rails 4 btw, which is compatible with both gems. In my User model: class User < ActiveRecord::Base acts_as_voter acts_as_commentator has_many :comments end In my Comment model: class Comment < ActiveRecord::Base acts_as_votable belongs_to :user end Everything seems to be working fine. But when trying to