Fix CSV import & contestant deletion
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#
|
||||
class Contestant < ApplicationRecord
|
||||
belongs_to :contest
|
||||
has_many :completions
|
||||
has_many :completions, dependent: :destroy
|
||||
|
||||
before_create :initialize_time_seconds
|
||||
|
||||
|
||||
Reference in New Issue
Block a user