mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-06 06:28:33 +00:00
Cache team scores
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class School < ActiveRecord::Base
|
||||
belongs_to :tournament
|
||||
belongs_to :tournament, touch: true
|
||||
has_many :wrestlers, dependent: :destroy
|
||||
has_many :deductedPoints, through: :wrestlers
|
||||
|
||||
|
||||
Reference in New Issue
Block a user