RubyGems Navigation menu

custom_id 0.1.0

CustomId generates unique, human-readable, prefixed string IDs (e.g. "usr_7xKmN2pQ…") for ActiveRecord models. Inspired by Stripe-style identifiers. Supports embedding shared characters from related model IDs, custom target columns, configurable random-part length, and an optional PostgreSQL trigger-based alternative.

Gemfile:
=

install:
=

Versions:

  1. 0.1.0 March 06, 2026 (26.5 KB)

Runtime Dependencies (3):

activerecord >= 7.0, < 9
activesupport >= 7.0, < 9
railties >= 7.0, < 9

Owners:

Pushed by:

Authors:

  • Pawel Niemczyk

SHA 256 checksum:

=

Total downloads 100

For this version 100

Version Released:

License:

MIT

Required Ruby Version: >= 3.2.0

New versions require MFA: true

Version published with MFA: true

Links: