diff options
Diffstat (limited to 'railties')
-rw-r--r-- | railties/configs/database.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/railties/configs/database.yml b/railties/configs/database.yml index c3a93c3ee6..581c59f5d5 100644 --- a/railties/configs/database.yml +++ b/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. |