mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Refactored names of methods and some db column
This commit is contained in:
@@ -15,9 +15,9 @@ class Teampointadjust < ActiveRecord::Base
|
||||
if self.wrestler_id != nil
|
||||
#In case this affects pool order
|
||||
AdvanceWrestler.new(self.wrestler).advance
|
||||
self.wrestler.school.calcScore
|
||||
self.wrestler.school.calculate_score
|
||||
elsif self.school_id != nil
|
||||
self.school.calcScore
|
||||
self.school.calculate_score
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user