Clarification on how to use “thumbs_up” voting gem with Rails 3

Hopefully I can help you out a bit. The generators should have created a Vote model for you. This is the model that holds all the votes, but that you interact with indirectly through the methods you’ve described above. So, for you: class User < ActiveRecord::Base acts_as_voter end class Post < ActiveRecord::Base acts_as_voteable end That … Read more