class method
self.uuid_v4
Ruby on Rails 6.0.6
Since v4.2.9Signature
self.uuid_v4()
Convenience method for SecureRandom.uuid.
Source
# File activesupport/lib/active_support/core_ext/digest/uuid.rb, line 49
def self.uuid_v4
SecureRandom.uuid
end
Defined in activesupport/lib/active_support/core_ext/digest/uuid.rb line 49
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Digest::UUID