X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0ad724bd92c02fdd274f01de4575769692f497c8..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)