set the host in database.yml only if it's not the loopback address.