X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/436470b0576574971ea13b9754142047a6d109df..677f391ec1e49b58136717bbd45fdee00008855a:/app/models/old_node.rb diff --git a/app/models/old_node.rb b/app/models/old_node.rb index badcd74a2..be115c53e 100644 --- a/app/models/old_node.rb +++ b/app/models/old_node.rb @@ -8,6 +8,7 @@ class OldNode < ActiveRecord::Base validates_inclusion_of :visible, :in => [ true, false ] validates_numericality_of :latitude, :longitude validate :validate_position + validates_associated :changeset belongs_to :changeset