Condensed as per Daniel's comment
This commit is contained in:
parent
f7bde9b654
commit
08b23d3a7f
1 changed files with 0 additions and 1 deletions
|
|
@ -9,7 +9,6 @@ module Diaspora::Guid
|
|||
|
||||
# @return [String] The model's guid.
|
||||
def set_guid
|
||||
self.guid ||= ActiveSupport::SecureRandom.hex(8)
|
||||
self.guid = ActiveSupport::SecureRandom.hex(8) if self.guid.blank?
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue