]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_node.rb
Update name of test
[rails.git] / app / models / old_node.rb
index 84899d7fb4a8e7b609c0d3dd03d01271b145789f..b103e5c7310160033f1d733029b26f5a29da50d7 100644 (file)
@@ -55,7 +55,7 @@ class OldNode < ActiveRecord::Base
 
     add_metadata_to_xml_node(el, self, changeset_cache, user_display_name_cache)
 
-    if self.visible?
+    if visible?
       el["lat"] = lat.to_s
       el["lon"] = lon.to_s
     end