Rails DB Console plugin

Plugin details

Provides rake tasks to easily run DB console programs for the various databases in your database.yml.

Websitehttp://www.sanityinc.com/articles/rails-db-console Repositoryhttp://rails.sanityinc.com/plugins/db_console/ Author Steve Purcell Tags Database, Console LicenseRuby's (MIT)

Documentation

Install the plugin:
ruby script/plugin install http://rails.sanityinc.com/plugins/db_console/

Example commands

% rake db:console                  # Connect to your RAILS_ENV database
% rake db:console:production       # Connect to the production database
% rake db:console:test             # Connect to the test database
% rake db:console:some_other_db    # Connect to some_other_db defined in database.yml
% RAILS_ENV=test rake db:console   # Connect to the test database

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | Back in time (4 older versions) | Last edited by: scott, 10 months ago