mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-04 05:43:47 +00:00
Record score in db and update when match is updated
This commit is contained in:
@@ -5,9 +5,6 @@ class School < ActiveRecord::Base
|
||||
|
||||
|
||||
#calculate score here
|
||||
def score
|
||||
calcScore
|
||||
end
|
||||
|
||||
def calcScore
|
||||
totalWrestlerPoints - totalDeductedPoints
|
||||
|
||||
Reference in New Issue
Block a user