thedersen/backbone.validation — pull request #182 by kinergy (2013-11-06 09:37:20+00:00)
Title: fixed model unbind when model is also part of a collection

When calling unbind(this), I fixed a bug due to a missing 'else' where even if the view had a model, if the model was also part of a collection, all other collection models would be unbound. I don't think this is the correct behavior since different views that are concurrently showing may decide to change which model they are displaying. Without this fix, if one view did an unbind(), retrieved a new model, and then called bind(), then any other views would be unbound as well!

Please review,
Kimon