Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
123456789101112module GamesHelper def placeholder random_placeholder || Game.new(name: 'Super Mario Sunshine', shortname: 'sms') end
private
def random_placeholder @random_placeholder ||= Game.where.not(shortname: nil).offset(rand(Game.where.not(shortname: nil).count)).first endend