Tools for inspecting your app in the browser (development mode only)
Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.



Makes the invisible, visible.

Assumes you have a Rails app with at least one model.


  • Clone this repo somewhere on your computer.

  • In your Gemfile:

    gem 'xray', path: '...wherever you cloned this to...'
  • Do the bundle install dance.


  • In your routes.rb:

    mount Xray::Engine => '/xray'
  • Start your rails server as usual.

  • Go to localhost:3000/xray to inspect your database!

  • Click the table headers to open/close.

  • Reloads the browser page automatically whenever the browser page gains focus! (You might want to turn that off.)

This project rocks and uses MIT-LICENSE.