heroku/heroku — pull request #224 by will (2012-02-01 22:47:51+00:00)
Title: fix pg:wait

pg:wait with no arguments loops over all your database finding one it should
wait for. The returns caused it to exit out of the loop early if a shared
database happened to be found first