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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user