rails/globalid
Identify app models with a URI observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 96
- Release rhythm 66
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 139.0
- age_days: 4401
- days_rel: 71
- days_push: 25
- n_releases_24m: 3
Adoption not part of the score
1277 stars · 138 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Ruby library from the Rails project that provides app-wide URIs (gid://app/Model/id) for uniquely identifying model instances across different classes. It supports signed and expiring identifiers for tamper-proof, time-limited references, with built-in Active Record integration.
Use cases
- pass model references to background jobs without serializing objects
- build dropdowns mixing Users and Groups with a universal identifier
- create expiring share links for documents
- sign identifiers to prevent tampering
- locate records from a URI string
When to choose
- you're on Rails or Active Record and need uniform references to heterogeneous models
- you need signed or expiring identifiers for secure resource links
- you're building job scheduling that references records by ID
When to avoid
- you're not using Ruby or a framework with a find-by-id model pattern
- you need cross-service identifiers rather than app-wide ones
- you just need primary keys within a single model class
Facets
library · maturity stable
serialization security developer-tools web-development apis ruby active-record uri signed-identifiers background-jobs rails-ecosystem
1 source
- readme: https://github.com/rails/globalid · fetched 2026-08-28 · 6f4ed212acb4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rails/globalid | main | 86 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem