bcardarella/client_side_validations — pull request #344 by croby (2012-06-23 23:03:53+00:00)
Title: Work on Confirmations - keyup disabling and a Coffeescript implementation of #251

This pull request implements pull #251 in Coffeescript, instead of editing the JS directly.

Additionally, I've added commits to conditionally disable the `keyup` validation on confirmation elements. This enables an application to confirm a `:*_confirmation` field only on `focusout`, which can be useful if, for example, you don't want to have the password confirmation validation fail as soon as the user starts typing in their password again in the confirmation field.

Sample usage:

```erb
<%= f.password_field :password_confirmation, :validate => true, 'data-validate-keyup' => false %>
```