Skip to content

Commit

Permalink
Only use a socket if there
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2916 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Nov 7, 2005
1 parent 6461318 commit ba86b84
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions railties/configs/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ba86b84

Please sign in to comment.