DISQUS

Pete On Rails: Announcing VoteFu

  • Brian · 8 months ago
    Hey Pete, loving this plugin. I used it to get this site up and running quite quickly: http://buyersvote.com

    So thanks for contributing it!

    One comment I wanted to share: one more feature I was able to add is the ability for people to vote on votes! This sounds weird, but it's what they do on Amazon.com where they ask you, was this review helpful? yes or no

    Anyway, I tried adding acts_as_voteable to vote.rb and at first it didn't work. But I was able to get it working by adding these two lines at the top:

    require 'acts_as_voteable'
    ActiveRecord::Base.send(:include, Juixe::Acts::Voteable)

    Anyway, thanks again!