some boolean correctness work
[rails.git] / app / models / node.rb
index 4ee8498385ca4d9bc1a48aaa6cf0dd64b60ad53d..3481e28ca4d2dfeb67ebde20100d6f7a26f76b44 100644 (file)
@@ -156,7 +156,7 @@ class Node < ActiveRecord::Base
         raise OSM::APIPreconditionFailedError.new
       else
         self.changeset_id = new_node.changeset_id
-        self.visible = 0
+        self.visible = false
 
         # update the changeset with the deleted position
         changeset.update_bbox!(bbox)