X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/619ac4c5b2fbdbc610007376ee11e3921e475520..8938ab79975d4152a4d6d3c8ceafdbda30b6b367:/app/models/trace.rb?ds=inline diff --git a/app/models/trace.rb b/app/models/trace.rb index feefc0773..f2d81e31a 100644 --- a/app/models/trace.rb +++ b/app/models/trace.rb @@ -43,7 +43,7 @@ class Trace < ApplicationRecord has_one_attached :image, :service => Settings.trace_image_storage has_one_attached :icon, :service => Settings.trace_icon_storage - validates :user, :presence => true, :associated => true + validates :user, :associated => true validates :name, :presence => true, :length => 1..255, :characters => true validates :description, :presence => { :on => :create }, :length => 1..255, :characters => true validates :timestamp, :presence => true