Show offline contestants in dashboard

This commit is contained in:
sto
2025-11-05 17:18:47 +01:00
parent d62b46b7df
commit 5348574ea4
11 changed files with 73 additions and 36 deletions

View File

@@ -22,6 +22,7 @@
class Contestant < ApplicationRecord
belongs_to :contest
has_many :completions, dependent: :destroy
has_one :offline
has_and_belongs_to_many :categories
before_validation :initialize_time_seconds_if_empty