Instead of using the database-specific command to start your project’s database console, Rails provides one consistent interface for the most popular databases (MySQL, PostgreSQL and SQLite):
script/dbconsole [RAILS_ENV] # Rails 2 rails dbconsole [RAILS_ENV] # Rails 3 rails db [RAILS_ENV] # Rails 3 alias
You can use HTML tags for formatting. Wrap code in <code> tags and multiple lines of code in <pre><code> tags.