Rails DB
A database viewer and SQL runner mounted at /rails/db
No ratings yet
- Gem
- rails_db
- Repository
- igorkasyanchuk/rails_db
- License
- MIT
- Stars
- 1,500
- Added
- August 16, 2026
About
A database browser for Rails that works against PostgreSQL, MySQL and SQLite.
What you get
- Table content and schema, browsable
- A SQL editor with autocomplete
- CSV and Excel export
- HTTP basic auth built in, if you have no better gate
Mounting it
ruby
# Gemfile
gem "rails_db"
# config/routes.rb
authenticate :user, ->(user) { user.admin? } do
mount RailsDb::Engine => "/rails/db", as: "rails_db"
end
Discussion (0)
Sign in to join the discussion.
No comments yet.