aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-11-07 19:23:30 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-11-07 19:23:30 +0000
commit5334d89e770fd72420cdb3c46b674fca711fccf9 (patch)
treee91505fdcd9ffb8b697fb919372d06066c605277 /railties
parente3abe441e9ea3a5ffa5856dcdf515030b96f80b8 (diff)
downloadrails-5334d89e770fd72420cdb3c46b674fca711fccf9.tar.gz
rails-5334d89e770fd72420cdb3c46b674fca711fccf9.tar.bz2
rails-5334d89e770fd72420cdb3c46b674fca711fccf9.zip
Fix socket in the end
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2929 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rw-r--r--railties/configs/database.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/configs/database.yml b/railties/configs/database.yml
index ed12521c5b..c282a1749d 100644
--- a/railties/configs/database.yml
+++ b/railties/configs/database.yml
@@ -10,7 +10,7 @@ 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 socket instead.
@@ -25,14 +25,14 @@ test:
database: <%= app_name %>_test
username: root
password:
-<%= " socket: #{socket}" if socket -%>
+<%= " socket: #{socket}" if socket %>
production:
adapter: mysql
database: <%= app_name %>_production
username: root
password:
-<%= " socket: #{socket}" if socket -%>
+<%= " socket: #{socket}" if socket %>
# PostgreSQL versions 7.4 - 8.1