]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/relation_tag.rb
Merge branch 'master' into feature/add-communities-page
[rails.git] / app / models / relation_tag.rb
index ad9a932661bddc63e75eeb428fe00330c327e47b..758ed37cc0d5afd0c9b6b5fa4eb4f9e2a08f3c3c 100644 (file)
@@ -17,7 +17,7 @@ class RelationTag < ApplicationRecord
 
   belongs_to :relation
 
-  validates :relation, :presence => true, :associated => true
+  validates :relation, :associated => true
   validates :k, :v, :allow_blank => true, :length => { :maximum => 255 }, :characters => true
   validates :k, :uniqueness => { :scope => :relation_id }
 end