# brentd/xray-rails

☠️ A development tool that reveals your UI's bones

Repository: https://github.com/brentd/xray-rails
Canonical: https://ross.abutalabs.com/products/xray-rails
Language: Ruby
License: MIT
License Family: permissive
Last push: 2024-12-07T21:58:20+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4928, "days_push": 634, "days_rel": 634, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1215, forks 76 (observed 2026-08-28T04:04:01.107131+00:00)

## What it is
A Ruby gem for Rails development that overlays the browser-rendered UI with the source files (views, partials, JS templates) that produced it. Pressing a hotkey reveals the overlay, and clicking a region opens the corresponding file in your editor.

## Use cases
- find which Rails partial rendered a UI element
- open the template file behind a page region directly in my editor
- debug Rails view hierarchy in the browser
- visualize controllers and partials behind rendered HTML
- speed up Rails frontend development navigation

## When to choose
- you develop Rails apps with server-rendered views and want editor-linked UI inspection
- you want to quickly trace rendered HTML back to view templates and partials

## When to avoid
- your app is a JavaScript SPA without Rails server-rendered templates
- you need production tooling - this gem is development-only
- your project doesn't use Ruby on Rails or jQuery

## Facets
- artifact type: library
- maturity: maintenance
- function: developer-tools, middleware, templating, frontend-framework
- domain: web-development, developer-tools, frontend
- platform: ruby, browser
- tags: rails-gem, debugging, ui-inspection, development-tool, hotkey-overlay, web-server

## Member repositories
- brentd/xray-rails (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:01.107131+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:17:14.890548+00:00, confidence not recorded.
  - readme: https://github.com/brentd/xray-rails (fetched 2026-08-28T04:04:01.107131+00:00, sha 65c83f6ff345)
- Data as of 2026-08-30T08:39:29.467469+00:00.
