X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/986f1c61fa115b7cfd5bef4a108c984da79fec85..3d55db46ed24d563d82cf42f91fd064e40447c4d:/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)