# Approaching a ranking system (concept)

**URL:** <https://www.ruby-forum.com/t/approaching-a-ranking-system-concept/104418>\
**Category:** Rails\
**Created:** [May 17, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/approaching-a-ranking-system-concept/104418 "2007-05-17T19:11:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 17, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/approaching-a-ranking-system-concept/104418/1 "2007-05-17T19:11:24Z")

</div>

I’m making a music recommendation site and on the front page I’d like  
to show the latest 10 albums based on activity. Instead of just  
sorting by votes Id like a more accurate approach to what gets on the  
front page (like digg).

I’d like some recommendations on how to approach creating this system,  
specificly: -the difficulty of implementing this system (new to ruby) -  
easier ways of approaching this

Current concept: Conditions would be based on the most active items  
sorted by value, limit 10.

Value is determined by:  
+/- Votes (+50 value)

- Comments (+10 value)
- Page Views (+1 value)

- Red Flag Button (-100 value)

Activity is determined by: Amount of increases / decreases in value in  
the last 24 hours

\*Since the value is weighted would activity have to be also?
