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.
Required Ruby Version
>= 3.2.0
Authors
Pawel Niemczyk
Versions
- 0.1.0 March 06, 2026 (26.5 KB)