QR codes generation
Some checks failed
CI / scan_ruby (push) Failing after 31s
CI / scan_js (push) Successful in 16s
CI / lint (push) Successful in 16s
CI / test (push) Failing after 45s

This commit is contained in:
sto
2025-11-20 12:01:30 +01:00
parent 3e071f9281
commit 709719b801
16 changed files with 63 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ class Puzzle < ApplicationRecord
belongs_to :contest
has_many :completions, dependent: :destroy
has_one_attached :image
has_one_attached :image, dependent: :destroy
validates :name, presence: true
validates :pieces, presence: true