]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/way_tag.rb
Merge branch 'master' into feature/add-communities-page
[rails.git] / app / models / way_tag.rb
index 0d32d8c41631402f7b104b6b60b881308a9ab6c5..93c4cdece779776f8a35c09e05636092bbe04bc7 100644 (file)
@@ -17,7 +17,7 @@ class WayTag < ApplicationRecord
 
   belongs_to :way
 
-  validates :way, :presence => true, :associated => true
+  validates :way, :associated => true
   validates :k, :v, :allow_blank => true, :length => { :maximum => 255 }, :characters => true
   validates :k, :uniqueness => { :scope => :way_id }
 end