Initial app
This commit is contained in:
4
app/models/puzzle.rb
Normal file
4
app/models/puzzle.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
class Puzzle < ApplicationRecord
|
||||
has_one_attached :image
|
||||
validates :name, presence: true
|
||||
end
|
||||
Reference in New Issue
Block a user