Get rid of a deprecation warning on the leaderboard scope, since Rails 4