1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-11 07:56:28 +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 class Teampointadjust < ActiveRecord::Base
belongs_to :wrestler belongs_to :wrestler, touch: true
belongs_to :school belongs_to :school, touch: true
after_save do after_save do
advance_wrestlers_and_calc_team_score advance_wrestlers_and_calc_team_score