flatiron/resourceful — pull request #86 by yawnt (2012-07-01 15:16:06+00:00)
Title: Fix hooks

As @pksunkara correctly pointed out in #nodejitsu, there is an issue when using AfterHooks, because they appear to be able to modify database datas.

The problem lies in the fact that the same object is passed, and though it is modified by after hooks. This can be fixed by passing a clone of the original object.