This page describes some miscellaneous low level commands that are mostly used for maintenance and debugging.

The Rake Dialog

The Rake dialog (Application menu) allows you to run arbitrary rake commands. There is a pop-up menu listing several dozen available Rake commands, you can just choose one and go, or type it in.

001_RakeCommandMenu

The result of the command appears in the log area at the top of the dialog.

002_RakeLog

Note: You can type in any arbitrary shell command into this dialog, not just rake commands. Track Magic will automatically cd to the folder containing the current Rails app before your command is run.)

Open script/console in Terminal

This command, in the Application menu, opens a new session in Terminal.app and starts a Rails console session for the current rails app.

003_RailsConsole

See Console in Ruby on Rails for more information.

Open script/dbconsole in Terminal

This command, in the Application menu, opens a new session in Terminal.app and starts a console session to the host server associated with the current rails app (SQLite, MySQL, etc.).

004_DBConsole

The commands available depend on what server you are using. See the documentation for the server you are using for details.

The Shell Environment Dialog

This dialog, in the Track menu, displays the shell environment that Track Magic will use to run shell commands.