RubyGems Navigation menu

encoded_id 1.0.0

Encode your numerical IDs (eg record primary keys) into obfuscated strings that can be used in URLs. The obfuscated strings are reversible, so you can decode them back into the original numerical IDs. Supports encoding multiple IDs at once, and generating IDs with custom alphabets and separators to make the IDs easier to read or share. Uses Sqids by default, with HashIds as an alternative.

Gemfile:
=

install:
=

Versions:

  1. 1.0.0 November 21, 2025 (38.5 KB)
  2. 1.0.0.rc7 November 20, 2025 (38.5 KB)
  3. 1.0.0.rc6 November 17, 2025 (35 KB)
  4. 1.0.0.rc5 April 09, 2025 (25 KB)
  5. 1.0.0.rc4 April 29, 2024 (14 KB)
Show all versions (12 total)

Runtime Dependencies (1):

sqids ~> 0.2

Owners:

Pushed by:

Authors:

  • Stephen Ierodiaconou

SHA 256 checksum:

=

Total downloads 6,608

For this version 148

Version Released:

License:

MIT

Required Ruby Version: >= 3.2.0

Links: