4 ms·
FriendlyUUID – Short, stateless URL slugs for UUID-based Rails models
- ezekg 6y agoUnlike something like friendly_id, this isn't really indexable, since n is variable in the sluggable query, at least for pg: left(id::text, n) = friendy_uuid It always results in a sequential scan.