]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/user.rb
Eager load nodes and node tags for the way when doing a getway call.
[rails.git] / app / models / user.rb
index 4113662aa411e3e5c3c60b1f809f2a0d2dc3a93d..2adbbb9a19d729acdc5053f54171a1d2d96ee6f5 100644 (file)
@@ -113,7 +113,7 @@ class User < ActiveRecord::Base
   def delete
     self.active = false
     self.display_name = "user_#{self.id}"
-    self.description = nil
+    self.description = ""
     self.home_lat = nil
     self.home_lon = nil
     self.image = nil