LearnBoost/mongoose — pull request #999 by STRML (2012-07-09 02:52:00+00:00)
Title: Fixed #787 - Add next function to post middleware

This commit fixes issue [#787](https://github.com/LearnBoost/mongoose/issues/787).

Bnoguchi graciously merged my [pull request](https://github.com/bnoguchi/hooks-js/pull/5) to hooks-js that addresses #787.

This pull request upgrades hooks-js to 0.3.0 which contains the fix, changes schema.js to use hooks-js's `post` handler (previously used a simple `on` handler) and updates docs/middleware.md to reflect the change. In addition, I have documented hooking into `validate`.