You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

ALL HOW TOs




Overview

Figures out which database you're using and drops you into whichever command line interface you would use with it (and figures out the command line parameters to give to it, too!).

It supports:

  • MySQL
  • PostgreSQL
  • SQLite
  • SQLite3

Example

# These are the same command and load db for current environment
$ rails dbconsole
$ rails db

# Can also load db for test environment
$ rails db test


  • No labels