drudge/mongoose-timestamp — pull request #16 by romaintb (2014-07-03 15:01:45+00:00)
Title: check that fields have been modified before updating updatedAt

Hi,

I wrote this for myself, thought I could share it.
The point is to not update _updatedAt_ if no changes have been made to the model.

I agree, the code could be made cleaner, nvm.

What do you think ?