1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Page caching set up

This commit is contained in:
2015-12-23 14:11:20 +00:00
parent be1df55e39
commit db876809ef
6 changed files with 109 additions and 94 deletions

View File

@@ -1,7 +1,7 @@
class Match < ActiveRecord::Base
belongs_to :tournament
belongs_to :weight
belongs_to :mat
belongs_to :tournament, touch: true
belongs_to :weight, touch: true
belongs_to :mat, touch: true
has_many :wrestlers, :through => :weight
after_save do