Next: , Previous: Test/Behavior Driven Development, Up: Top


5 Execution

Some Rails tools work better inside of emacs. Specifically running rake tasks, tests, console, the web-server, and browsing your SQL database. Rinari provides functions for running all of these tools inside specialized emacs buffers.

— Function: rinari-rake

Tab completion selection of a rake task to execute with the output dumped to a compilation buffer allowing jumping between errors and source code. With optional prefix argument allows editing of the rake command.

— Function: rinari-console

"Run script/console in a compilation buffer, with command history and links between errors and source code. Use a prefix argument to edit command line options."

— Function: rinari-sql

Browse the application's database. Looks up login information from your conf/database.sql file.

— Function: rinari-web-server

Run script/server. Dump output to a compilation buffer allowing jumping between errors and source code.

— Function: rinari-test

Test the current ruby function. If current function is not a test, then try to jump to the related test using `rinari-find-test'. Dump output to a compilation buffer allowing jumping between errors and source code.