Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit ba86b8497fa71f81fa771cf94d487efa10f3b5bf 1 parent 6461318
@dhh dhh authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  railties/configs/database.yml
View
3  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.
Something went wrong with that request. Please try again.