Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I create a "reputation" system similar to StackOverflow using Rails?

I have users in my system and I want to create a reputation system where they begin to accumulate points based on a few, simpler inputs:

  • The ratings of their reviews
  • The number of reviews they have
  • The number of followers

I don't need it to be super complex, just functional and believable. I am seeking help both on the "math" side, but also if there are gems they do pieces of it on the user-interface and data-model side.

like image 362
Satchel Avatar asked Apr 19 '11 15:04

Satchel


2 Answers

I would take a look at thumbs_up, I looked into it for a recent project and now wished we had used it instead of a different gem. Seems pretty straightforward.

like image 131
Brett Bender Avatar answered Sep 30 '22 07:09

Brett Bender


While it's not a Rails specific book and more conceptual, I recommend the book 'Building Web Reputation Systems.' http://www.amazon.com/Building-Reputation-Systems-Randy-Farmer/dp/059615979X/ref=sr_1_1?ie=UTF8&s=books&qid=1303234014&sr=8-1

Depending on what you're trying to do, lots of planning goes underneath them and the book talks a lot about the process along with other examples from Yahoo and soforth.

like image 32
Shannon Avatar answered Sep 30 '22 08:09

Shannon