some picture polishing

This commit is contained in:
Torsten
2023-01-25 22:46:30 +02:00
parent e7b24d1201
commit 8a1c148c12
6 changed files with 29 additions and 16 deletions

View File

@ -4,6 +4,6 @@ class Picture < ApplicationRecord
mount_uploader :picture, PictureUploader
validates :text, length: { maximum: 80 }
validates :happened, presence: true
end