class method self.nil_uuid

Ruby on Rails 8.1.2

Since v7.2.3

Available in: v7.2.3 v8.0.4 v8.1.2

Signature

self.nil_uuid()

Returns the nil UUID. This is a special form of UUID that is specified to have all 128 bits set to zero.

Source
# File activesupport/lib/active_support/core_ext/digest/uuid.rb, line 58
    def self.nil_uuid
      "00000000-0000-0000-0000-000000000000"
    end

Defined in activesupport/lib/active_support/core_ext/digest/uuid.rb line 58 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Digest::UUID

Type at least 2 characters to search.

↑↓ navigate · open · esc close