aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorArun Agrawal <arun@fromjaipur.com>2011-06-15 07:40:49 +0530
committerArun Agrawal <arun@fromjaipur.com>2011-06-15 07:40:49 +0530
commit57ace9868aa076ab2dc9763c0ef1892af0501fc3 (patch)
tree4e36d3a1a7ee280031a7ee270c69cebc57a2494e /railties/guides
parent8f05a2f7aeae0d1185417882d1939c9c0aba1379 (diff)
downloadrails-57ace9868aa076ab2dc9763c0ef1892af0501fc3.tar.gz
rails-57ace9868aa076ab2dc9763c0ef1892af0501fc3.tar.bz2
rails-57ace9868aa076ab2dc9763c0ef1892af0501fc3.zip
Moving hint down. As required after all database examples.
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/getting_started.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile
index a6396c029a..7bd300c188 100644
--- a/railties/guides/source/getting_started.textile
+++ b/railties/guides/source/getting_started.textile
@@ -256,8 +256,6 @@ development:
password:
</yaml>
-Change the username and password in the +development+ section as appropriate.
-
h5. Configuring an SQLite3 Database for Jruby Platform
If you choose to use SQLite3 and using Jruby, your +config/database.yml+ will look a little different. Here's the development section:
@@ -293,6 +291,8 @@ development:
password:
<yaml>
+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 instead of SQLite.
h4. Creating the Database