RubyGems Navigation menu

opaque_id 1.7.0

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.

Gemfile:
=

install:
=

Versions:

  1. 1.7.0 October 04, 2025 (77 KB)
  2. 1.6.0 October 03, 2025 (73 KB)
  3. 1.4.0 October 02, 2025 (89.5 KB)
  4. 1.3.0 October 02, 2025 (89.5 KB)
  5. 1.2.0 October 02, 2025 (44 KB)
Show all versions (6 total)

Runtime Dependencies (2):

activerecord >= 8.0
activesupport >= 8.0

Development Dependencies (5):

bundle-audit ~> 0.1
rails >= 8.0
rake ~> 13.3
rubocop ~> 1.81
sqlite3 >= 2.1

Owners:

Pushed by:

GitHub

Authors:

  • Joe Nyaggah

SHA 256 checksum:

=

Provenance:

Total downloads 730

For this version 69

Version Released:

License:

MIT

Required Ruby Version: >= 3.2.0

New versions require MFA: true

Version published with MFA: true

Links: