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

Touch wrestler and school on update

This commit is contained in:
2016-01-12 18:41:43 +00:00
parent 19d49abca7
commit faa4300335

View File

@@ -1,6 +1,6 @@
class Teampointadjust < ActiveRecord::Base
belongs_to :wrestler
belongs_to :school
belongs_to :wrestler, touch: true
belongs_to :school, touch: true
after_save do
advance_wrestlers_and_calc_team_score