X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ff7ddb6b86bf918a9418af7382836b41594d45e4..cbb8063bc3e015405a4ff5e8953163a6dfcae89f:/app/models/changeset_tag.rb diff --git a/app/models/changeset_tag.rb b/app/models/changeset_tag.rb index 600ace4a6..672e6f76c 100644 --- a/app/models/changeset_tag.rb +++ b/app/models/changeset_tag.rb @@ -20,7 +20,7 @@ class ChangesetTag < ApplicationRecord belongs_to :changeset - validates :changeset, :presence => true, :associated => true + validates :changeset, :associated => true validates :k, :v, :allow_blank => true, :length => { :maximum => 255 }, :characters => true validates :k, :uniqueness => { :scope => :changeset_id } end