Community Page
- blog.peteonrails.com Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- This is a good example of how mysterious finds can be solved with a little effort. Note that the Capital of Vermont <a href="http://www.hrsaccountlogin.com">hrsaccount</a> is...
- I'm not sure what you've done wrong. Can you post a link to a gist or other online snippet so I can see your code? Thanks, --Pete
- The :order in the tally doesn't seem to work? Where have i done wrong?
- Oddly enough, a full year later, I write my blocks like the second example. Feh.
- 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...
Jump to original thread »
VoteFu is a voting mixin that allows you to extend your models to vote on one another. Largely based on Cosmin Radoi’s acts_as_voteable plugin, VoteFu adds named_scope support, a set of generators to make using the plugin easier, a :polymorphic association to the voting class (so you can have more than one model type [...]
... Continue reading »
2 months ago
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!