Permalink
Browse files

Only use a socket if there

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2916 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 6461318 commit ba86b8497fa71f81fa771cf94d487efa10f3b5bf @dhh dhh committed Nov 7, 2005
Showing with 1 addition and 2 deletions.
  1. +1 −2 railties/configs/database.yml
@@ -15,8 +15,7 @@ development:
username: root
password:
- # Connect on a domain socket.
- <%= "socket: #{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.

0 comments on commit ba86b84

Please sign in to comment.