Best way to implement voting in a Rails application?

后端 未结 3 470
一生所求
一生所求 2021-02-04 18:48

What\'s the best plugin these days for implementing voting on a Rails site?

Two I\'m aware of are:

  1. vote_fu
  2. acts_as_voteable
3条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-04 19:32

    vote_fu is very outdated and isn't compatible with modern rails distributions (I'm using 3.2.5). Thumbs_up has replaced it form Rails 3.x development. Go with that or either acts_as_votable as they are still being maintained.

    Thumbs_up has some extra options like built-in karma tracking.

提交回复
热议问题