Add brand to puzzles
This commit is contained in:
@@ -2,4 +2,5 @@ class Puzzle < ApplicationRecord
|
||||
belongs_to :contest
|
||||
has_one_attached :image
|
||||
validates :name, presence: true
|
||||
validates :brand, presence: true
|
||||
end
|
||||
|
Reference in New Issue
Block a user