thedersen/backbone.validation — pull request #59 by skwp (2012-07-26 00:23:53+00:00)
Title: equalTo comparison is not working due to comparison against incorrect value

We found that the `equalTo` comparison was comparing against an undefined value, which came from `computed[equalTo]`. The `equalTo` argument already contains the value you want to compare against, for example "100", whereas `computed` is a hash of attributes such as `{foo: 1, bar: 2}`. So it makes no sense to use equalTo as the key to pull something out of that hash.

`equalTo` is already the thing you should use to compare against. Not sure about the purpose of the `computed` argument, but this fix appears to fix the problem. Please let me know if something seems off about this.