Add brand to puzzles
Some checks are pending
CI / scan_ruby (push) Waiting to run
CI / scan_js (push) Waiting to run
CI / lint (push) Waiting to run
CI / test (push) Waiting to run

This commit is contained in:
sto
2025-03-20 08:59:31 +01:00
parent 5339a864c0
commit 658c50fd04
6 changed files with 15 additions and 3 deletions

View File

@@ -2,4 +2,5 @@ class Puzzle < ApplicationRecord
belongs_to :contest
has_one_attached :image
validates :name, presence: true
validates :brand, presence: true
end