]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_way_tag.rb
Merge branch 'master' into feature/add-communities-page
[rails.git] / app / models / old_way_tag.rb
index e684199bf4f49873c0960629064b7f1390cd6f47..0342cf34485c165d2f2ec8ecfd9466f855c7a257 100644 (file)
@@ -18,7 +18,7 @@ class OldWayTag < ApplicationRecord
 
   belongs_to :old_way, :foreign_key => [:way_id, :version], :inverse_of => :old_tags
 
-  validates :old_way, :presence => true, :associated => true
+  validates :old_way, :associated => true
   validates :k, :v, :allow_blank => true, :length => { :maximum => 255 }, :characters => true
   validates :k, :uniqueness => { :scope => [:way_id, :version] }
 end