box-o-sand/map-mash/app/models/requester.rb
Dan Buch d834b81003 Add 'map-mash/' from commit '7f16409d1257e7471fef35c18bcdf32856b908e3'
git-subtree-dir: map-mash
git-subtree-mainline: eacc351b17
git-subtree-split: 7f16409d12
2013-01-09 23:59:47 -05:00

8 lines
133 B
Ruby

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