]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/node.rb
Remove redundant presence validation on belongs_to
[rails.git] / app / models / node.rb
index 3214564c8e4fbf7c1eb15e75f953e9f187869c41..2ae62d68482701ea48b933fa05fa837ab1d125db 100644 (file)
@@ -49,8 +49,6 @@ class Node < ApplicationRecord
                  :numericality => { :on => :update, :only_integer => true }
   validates :version, :presence => true,
                       :numericality => { :only_integer => true }
-  validates :changeset_id, :presence => true,
-                           :numericality => { :only_integer => true }
   validates :latitude, :presence => true,
                        :numericality => { :only_integer => true }
   validates :longitude, :presence => true,