OpaqueId provides a simple way to generate unique, URL-friendly identifiers for your ActiveRecord models. Uses rejection sampling for unbiased random generation, ensuring perfect uniformity across the alphabet. Prevents exposing incremental database IDs in URLs and APIs.

Required Ruby Version

>= 3.2.0

Authors

Joe Nyaggah

Versions

  1. 2.0.0 October 14, 2025 (8.5 KB)
  2. 1.7.7 October 14, 2025 (8 KB)
  3. 1.7.0 October 04, 2025 (77 KB)
  4. 1.6.0 October 03, 2025 (73 KB)
  5. 1.4.0 October 02, 2025 (89.5 KB)
Show all versions (8 total)

Pushed by

SHA 256 checksum