1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-10 07:48:29 +00:00

Added memcached and set up cached items for up_matches page

This commit is contained in:
2015-12-17 18:44:24 +00:00
parent 127474da9c
commit 983cc9c667
7 changed files with 34 additions and 7 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