brunofacca/active-record-query-trace
Rails plugin that logs/displays a backtrace of all SQL queries executed by Active Record observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 63
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: n/a
- age_days: 5558
- days_rel: n/a
- days_push: 225
- n_releases_24m: 0
Adoption not part of the score
1008 stars · 74 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Rails plugin that logs a backtrace for every SQL query executed by Active Record in the development console and log. It helps developers locate where queries originate in their application code.
Use cases
- find where a SQL query is executed in a Rails app
- track down N+1 queries during development
- optimize database performance in a large Rails codebase
- debug which view or model triggers slow queries
- filter query traces to application code only
When to choose
- you develop Rails apps with Active Record and need query origin tracing
- you are profiling or optimizing database access in development
- you need to locate queries buried in views, decorators, or concerns
When to avoid
- you need production query monitoring or APM (use tools like Skylight or New Relic)
- your project does not use Ruby on Rails or Active Record
- you need query performance metrics rather than backtraces
Facets
plugin · maturity active
logging database developer-tools monitoring web-development databases developer-tools performance ruby rails-plugin activerecord sql-backtrace debugging n-plus-one web-server
1 source
- readme: https://github.com/brunofacca/active-record-query-trace · fetched 2026-08-28 · 26e894a84dfc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| brunofacca/active-record-query-trace | main | 61 |
For agents
markdown · JSON · MCP: product_card(name="brunofacca/active-record-query-trace")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem