I would like to view the data in my DB while developing with Rails (actually in all 3 of them development, test and production). I have not touched the configs, so it should
You can have online access to your database if you use activeadmin.
Just add the gem activeadmin-sqlpage:
gem 'activeadmin-sqlpage'
And create activeadmin page:
# file app/admin/sql.rb
ActiveAdmin::SqlPage::register
Restart your server. Then go to admin panel and navigate the menu SQL. Enter any sql command and press Ctrl+Enter or Submit button.