node-orm2 — pull request #92 by julien51 (2013-03-23 22:16:10+00:00)
Title: A little improvment for the Express middleware :)

Making sure we do only proceed to next() in the middleware when the database is ready.
doing so before will trigger errors as the _db variable may still be undefined.