aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-11-07 18:07:05 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-11-07 18:07:05 +0000
commit63e30a5cae7140742059804998371f4e0596f549 (patch)
treec3f3632448132472e585eb1c160b65588429a798
parente55426a798f6cd80f5a0f9a5937b90cc20341b72 (diff)
downloadrails-63e30a5cae7140742059804998371f4e0596f549.tar.gz
rails-63e30a5cae7140742059804998371f4e0596f549.tar.bz2
rails-63e30a5cae7140742059804998371f4e0596f549.zip
Less spacing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2925 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--railties/configs/database.yml15
1 files changed, 5 insertions, 10 deletions
diff --git a/railties/configs/database.yml b/railties/configs/database.yml
index 581c59f5d5..9e83ee3639 100644
--- a/railties/configs/database.yml
+++ b/railties/configs/database.yml
@@ -1,8 +1,4 @@
-# Set up database connections for each environment.
-# By default, development, test, and production connect to local MySQL.
-# Example configurations for PostgreSQL and SQLite are at the end.
-
-# MySQL. Versions 4.1 and 5.0 are recommended.
+# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
#
# Get the fast C bindings:
# gem install mysql
@@ -14,11 +10,10 @@ development:
database: <%= app_name %>_development
username: root
password:
-
- <%= "socket: #{socket}" if socket %>
+<%= " socket: #{socket}" if socket -%>
# Connect on a TCP socket. If omitted, the adapter will connect on the
- # domain socket given by the socket parameter instead.
+ # domain socket given by socket instead.
#host: localhost
#port: 3306
@@ -28,14 +23,14 @@ development:
test:
adapter: mysql
database: <%= app_name %>_test
- <%= "socket: #{socket}" if socket %>
+<%= " socket: #{socket}" if socket -%>
username: root
password:
production:
adapter: mysql
database: <%= app_name %>_production
- <%= "socket: #{socket}" if socket %>
+<%= " socket: #{socket}" if socket -%>
username: root
password: