Best way to implement voting in a Rails application?

What is the best plugin these days to vote on the Rails website?

I know that:

+6
ruby-on-rails voting
source share
3 answers

There is no general β€œbetter” solution. See how they work and see what works best for what you need and what suits your applications. In this case, act_as_votable allows you to vote on models. vote_fu contains more as it promotes the concept of "act_as_voter" to limit the models that can vote. He also adds 'has_karma' to give karma based on the user's vote.

As you can see, both options are different, and only you know what best suits your needs.

+5
source share

It comes a bit later, but from what I can say, vote_fu was inspired by act_as_voteable (and supports its syntax), but is developing more actively.

+3
source share

vote_fu is very outdated and incompatible with modern rails distributions (I use 3.2.5). Thumbs_up replaced its Rails 3.x form. Go with this or acts_as_votable , as they are still supported.

Thumbs_up has additional options, such as built-in karma tracking.

+3
source share

All Articles