Rails backend for ff_rankings