some picture polishing
This commit is contained in:
@ -4,6 +4,6 @@ class Picture < ApplicationRecord
|
||||
mount_uploader :picture, PictureUploader
|
||||
|
||||
validates :text, length: { maximum: 80 }
|
||||
|
||||
validates :happened, presence: true
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user