mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-06 14:36:59 +00:00
Revert "Moving away from matchups_array and saving matches individually"
This reverts commit 650a9ed7d6.
This commit is contained in:
@@ -2,13 +2,4 @@ class Match < ActiveRecord::Base
|
||||
belongs_to :tournament
|
||||
WIN_TYPES = ["Decision", "Major", "Tech Fall", "Pin", "Forfeit", "Injury Default", "Default", "DQ"]
|
||||
|
||||
|
||||
def w1_name
|
||||
Wrestler.find(self.w1).name
|
||||
end
|
||||
|
||||
def w2_name
|
||||
Wrestler.find(self.w2).name
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user