bcardarella/client_side_validations — Issue #255: if Jquery ajax cache is set to false, the cache busting params causes client_side_validations to barf
Author: maxwell
Created: 2012-01-19 23:15:07+00:00
State: open

Hi,

If you need to have jQuery.ajaxSetup({'cache': false}) for your application (like if you are making heavy use of Backbone.js) Jquery adds a "_=328742394734" style cache busting param to every ajax request made.

When the client side validation middleware tries to validate this, it assumes it is an addr of the model, and throws an exception.

Since this is a core Jquery thing, it would be cool if client_side_validations ignored this parameter.