box-o-sand/oldstuff/map-mash/app/models/requester.rb

8 lines
133 B
Ruby

class Requester < ActiveRecord::Base
has_many :mash_tournaments
def current_tournament
self.mash_tournaments.last
end
end