MagLev Database Explorer
MagLev Database Explorer is a Rails application that allow you to view and modify objects persisted in MagLev/GemStone and to debug Rails applications. MagLev Database Explorer is a Rails Engine that can be integrated in your Rails application.
You can use MagLev Database Explorer as a Rails Engine or as a stand-alone application, in order to use together with non-Rails application.
Download the Gem source code, build the Gem and install it. Alternatively, install the Gem from Rubygems.
gem install maglev-database-explorer
Add the Gem the Gemfile of your Rails application.
Add a route to your Rails application. You can currently not change the name of the route.
Rails.application.routes.draw do mount MaglevDatabaseExplorer::Engine => "/maglev-database-explorer" end
Run your application.
You can access MagLev Database Explorer at this URL:
Note: MagLev Database Explorer spawns a second web server for debugging purposes. The port number is always the default port incremented by one.
Install the Gem and run
maglev-database-explorer on your console.
You can debug Rails application by executing the following statement in your application code.
There are currently no automatic Rails exception handlers that automatically spawn a debug session for Rails expcetions.
Explore and modify objects in your Rails application running on MagLev.