1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Working on pools

This commit is contained in:
2014-12-31 10:38:49 -05:00
parent 8b6161ee3e
commit d69838310e
6 changed files with 47 additions and 32 deletions

View File

@@ -2,9 +2,5 @@ class Match < ActiveRecord::Base
belongs_to :tournament
WIN_TYPES = ["Decision", "Major", "Tech Fall", "Pin", "Forfeit", "Injury Default", "Default"]
def bout
@round_number = self.round * 1000
self.bout_number = @round_number + self.id
end
end