URL-friendly, base32-encoded UUIDs for Rails models
07-Dec-2023 1327
This gem encodes UUID primary keys into 26-character lowercase strings using Crockford’s base32 encoding. The optional prefix helps you identify the model it represents.BasedUUID assumes that you have a UUID primary key (id) in your ActiveRecord model. It doesn’t affect how your primary key UUIDs are stored in the database. Prefixes and base32-encoded strings are only used for presentation.
URL-friendly, base32-encoded UUIDs for Rails models #ruby #rubydeveloper #rubyonrails #URL-friendly, #base32-encoded #UUIDs #Rails #models https://rubyonrails.ba/link/url-friendly-base32-encoded-uuids-for-rails-models