mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-04 22:03:49 +00:00
Only needs to destroy matches on delete
This commit is contained in:
@@ -10,7 +10,6 @@ class Wrestler < ActiveRecord::Base
|
|||||||
|
|
||||||
before_destroy do
|
before_destroy do
|
||||||
self.tournament.destroyAllMatches
|
self.tournament.destroyAllMatches
|
||||||
self.weight.resetAllSeeds
|
|
||||||
end
|
end
|
||||||
|
|
||||||
before_create do
|
before_create do
|
||||||
|
|||||||
Reference in New Issue
Block a user