diaspora/diaspora — pull request #2379 by Robsteranium (2011-11-11 04:14:01+00:00)
Title: guid default of "" never gets set to a secure random hex (in mysql at least)

Won't be assigned with `||=` as` ""` is not `nil`.

Without this I can't post status messages:
````Started POST "/status_messages" --> Completed 422 Unprocessable Entity
JSON response: {"errors":["Guid has already been taken"]}
````

This might be better dealt with somewhere else such as the have the schema/ migrations such that the default value for this column is `NULL` rather than `""`.