Fix CSV import & contestant deletion

This commit is contained in:
sto
2025-06-19 10:33:36 +02:00
parent f78a082ad3
commit 4645b45f5d
4 changed files with 9 additions and 8 deletions

View File

@@ -21,7 +21,7 @@
#
class Contestant < ApplicationRecord
belongs_to :contest
has_many :completions
has_many :completions, dependent: :destroy
before_create :initialize_time_seconds