Skip to content

Commit

Permalink
Update wording of TIP about --database option for rails new
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonnoble authored and fxn committed Jul 25, 2011
1 parent 41c024d commit b2fc1e8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions railties/guides/source/getting_started.textile
Original file line number Diff line number Diff line change
Expand Up @@ -397,12 +397,12 @@ development:

Change the username and password in the +development+ section as appropriate.

TIP: You don't have to update the database configurations manually. If you had a
look at the options of application generator, you have seen that one of them is
named <tt>--database</tt>. It lets you choose an adapter for couple of most used
relational databases. You can even run the generator repeatedly: <tt>cd .. &&
rails new blog --database=mysql</tt>. When you confirm the overwriting of the
+config/database.yml+ file, your application will be configured for MySQL
TIP: You don't have to update the database configurations manually. If you look at the
options of the application generator, you will see that one of the options
is named <tt>--database</tt>. This option allows you to choose an adapter from a
list of the most used relational databases. You can even run the generator
repeatedly: <tt>cd .. && rails new blog --database=mysql</tt>. When you confirm the overwriting
of the +config/database.yml+ file, your application will be configured for MySQL
instead of SQLite.

h4. Creating the Database
Expand Down

0 comments on commit b2fc1e8

Please sign in to comment.