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