diff options
author | Rohit Arondekar <rohit.arondekar@gmail.com> | 2010-04-10 18:28:57 -0700 |
---|---|---|
committer | Mike Naberezny <mike@naberezny.com> | 2010-04-10 19:38:05 -0700 |
commit | c7e2b6413df8b1c5609f6e5434a2557f2e178cd7 (patch) | |
tree | cbb6e26e254c3c4bcbcd667358c71b8f29db53fb /railties/guides/source/getting_started.textile | |
parent | 87f7093ee3306f417e1136d947eba200d40ff8e7 (diff) | |
download | rails-c7e2b6413df8b1c5609f6e5434a2557f2e178cd7.tar.gz rails-c7e2b6413df8b1c5609f6e5434a2557f2e178cd7.tar.bz2 rails-c7e2b6413df8b1c5609f6e5434a2557f2e178cd7.zip |
Fixed indentation of database.yml examples.
Diffstat (limited to 'railties/guides/source/getting_started.textile')
-rw-r--r-- | railties/guides/source/getting_started.textile | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile index 2bbb4dc252..cbace177f9 100644 --- a/railties/guides/source/getting_started.textile +++ b/railties/guides/source/getting_started.textile @@ -232,13 +232,13 @@ If you choose to use MySQL instead of the shipped Sqlite3 database, your +config <yaml> development: -adapter: mysql -encoding: utf8 -database: blog_development -pool: 5 -username: root -password: -socket: /tmp/mysql.sock + adapter: mysql + encoding: utf8 + database: blog_development + pool: 5 + username: root + password: + socket: /tmp/mysql.sock </yaml> If your development computer's MySQL installation includes a root user with an empty password, this configuration should work for you. Otherwise, change the username and password in the +development+ section as appropriate. @@ -249,12 +249,12 @@ Finally if you choose to use PostgreSQL, your +config/database.yml+ will be cust <yaml> development: -adapter: postgresql -encoding: unicode -database: blog_development -pool: 5 -username: blog -password: + adapter: postgresql + encoding: unicode + database: blog_development + pool: 5 + username: blog + password: </yaml> Change the username and password in the +development+ section as appropriate. |