X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6c66507427961a22a8f282b5b2f4ab7fda1dad6f..1da4cecaf6f8bdae527553e61165cc41fc07533b:/app/models/old_node.rb diff --git a/app/models/old_node.rb b/app/models/old_node.rb index 5e3638347..397e83618 100644 --- a/app/models/old_node.rb +++ b/app/models/old_node.rb @@ -17,7 +17,7 @@ class OldNode < ActiveRecord::Base belongs_to :changeset def validate_position - errors.add_to_base("Node is not in the world") unless in_world? + errors.add(:base, "Node is not in the world") unless in_world? end def self.from_node(node)