1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-08 07:22:38 +00:00

Cache other pages that users will frequent

This commit is contained in:
2015-12-23 15:29:32 +00:00
parent b0640a61a7
commit a3cf41918b
4 changed files with 121 additions and 115 deletions

View File

@@ -1,6 +1,6 @@
class Wrestler < ActiveRecord::Base
belongs_to :school
belongs_to :weight
belongs_to :school, touch: true
belongs_to :weight, touch: true
has_one :tournament, through: :weight
has_many :matches, through: :weight
has_many :deductedPoints, class_name: "Teampointadjust"