thedersen/backbone.validation — pull request #31 by jasonzhao6 (2012-03-07 20:07:08+00:00)
Title: Ensure model with custom toJSON() validates correctly

We ran into a situation where one of our models with a custom toJSON method was not validating because the validation routines call toJSON on the model to copy a "frozen" state of the object's attributes. We changed the validations to use _.extend to make a copy instead.