1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00
Files
wrestlingdev.com/app/models/school.rb

12 lines
219 B
Ruby

class School < ActiveRecord::Base
belongs_to :tournament
has_many :wrestlers, dependent: :destroy
#calculate score here
def score
#Add score per wrestler. Calculate score in wrestler model.
return 0
end
end