sto 658c50fd04
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
Add brand to puzzles
2025-03-20 08:59:31 +01:00

7 lines
154 B
Ruby

class Puzzle < ApplicationRecord
belongs_to :contest
has_one_attached :image
validates :name, presence: true
validates :brand, presence: true
end