class ActiveStorage::Blob
def generate_unique_secure_token(length: MINIMUM_TOKEN_LENGTH)
the same or higher amount of entropy as in the base-58 encoding used by `has_secure_token`
to only contain the base-36 character alphabet and will therefore be lowercase. To maintain
with databases which treat indices as case-sensitive, all blob keys generated are going
To prevent problems with case-insensitive filesystems, especially in combination
def generate_unique_secure_token(length: MINIMUM_TOKEN_LENGTH) SecureRandom.base36(length) end