basic rails app for ranking different kinds of mediums