projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eed6fdf
)
Null descriptions are not allowed.
author
Tom Hughes
<tom@compton.nu>
Sat, 25 Apr 2009 22:26:56 +0000
(22:26 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sat, 25 Apr 2009 22:26:56 +0000
(22:26 +0000)
app/models/user.rb
patch
|
blob
|
history
diff --git
a/app/models/user.rb
b/app/models/user.rb
index 4113662aa411e3e5c3c60b1f809f2a0d2dc3a93d..2adbbb9a19d729acdc5053f54171a1d2d96ee6f5 100644
(file)
--- a/
app/models/user.rb
+++ b/
app/models/user.rb
@@
-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