URL-friendly, base32-encoded UUIDs for Rails models

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 https://rubyonrails.ba/single/url-friendly-base32-encoded-uuids-for-rails-models

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles