Merge pull request #509 from ilyakatz/3-2-stable

doc that explains the requirement of the gem
Fixes #498 and #499 (IE8 incompatibility). Changes Array.indexOf call to use coffeescript's 'x in Array' construct.
Merge pull request #511 from kartofflly/fix-ie8-incompatibility

Fixes #498 and #499 (IE8 incompatibility)
Don't set remote_validators_prefix if root_path is not set
Merge pull request #515 from arr-ee/fix_remote_validations_with_default_root_path

Don't set remote_validators_prefix if root_path is not set
Fixed test
Fixed test

Kudos to qunit for the excellent error reporting of it
Fixed fields_for with has_many associations
Added ability to override class name for uniqueness validator

Added `:client_validations` option to the `validate_uniqueness_of`,
where one can specify the real class name for the remote validation.

For example, we have a wrapper class for the User model, UserForm, and
it uses remote uniqueness validation for the email field.

```
class UserForm
  include ActiveRecord::Validations
  attr_accessor :email
  validates_uniqueness_of :email
end
```

However, this won't work since middleware will try to perform validation
against UserForm, and it's not persisted.

Now one can state which class should be used for validation:

```
class UserForm
  include ActiveRecord::Validations
  attr_accessor :email
  validates_uniqueness_of :email, :client_validations => { :class =>
  User }
end
```
Merge pull request #520 from arr-ee/override_class_for_uniqueness_validator

Added ability to override class name for uniqueness validator
Merge pull request #516 from arr-ee/fix_fields_for_with_has_many_relation

Fixed fields_for with has_many associations [Fixes #504]
Merge branch '3-2-stable' of git://github.com/bcardarella/client_side_validations into brian/3-2-stable