salsify/goldiloader
Just the right amount of Rails eager loading observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 73
- Release rhythm 23
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 210.5
- age_days: 4465
- days_rel: 301
- days_push: 167
- n_releases_24m: 3
Adoption not part of the score
1672 stars · 53 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Goldiloader is a Ruby gem that automatically eager loads ActiveRecord associations to eliminate N+1 queries. It batches association loads across models in a query result into a single database query without requiring explicit includes or preload calls.
Use cases
- fix N+1 query problems in Rails apps
- automatically eager load ActiveRecord associations
- reduce database query count in Rails controllers
- optimize Rails ORM performance without manual includes
- batch load nested associations in ActiveRecord
- speed up slow Rails pages caused by per-record queries
When to choose
- you have a Rails app suffering from N+1 queries
- you want eager loading to happen automatically without auditing every code path
- you access associations uniformly across loaded records
- you want a drop-in gem with minimal configuration
When to avoid
- you are not using Ruby on Rails or ActiveRecord
- your code accesses associations non-uniformly, causing over-fetching of unused data
- you need fine-grained control over which queries are batched
- you are on Rails older than the supported versions without using a legacy release branch
Facets
library · maturity active
orm database caching web-development databases performance developer-tools ruby activerecord eager-loading n-plus-one ruby-on-rails gem query-optimization web-server
1 source
- readme: https://github.com/salsify/goldiloader · fetched 2026-08-28 · 0b3abf853a17
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| salsify/goldiloader | main | 61 |
For agents
markdown · JSON · MCP: product_card(name="salsify/goldiloader")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem