This contains unnecessary interpolation. Go for this:

```ruby
"#{params[:adapter]}://#{params[:username]}:#{params[:password]}@#{params[:host]}:#{params[:port]}/#{params[:database]}"
```

That's my last complaint before I merge.