bcardarella/client_side_validations — pull request #532 by besi (2013-04-30 23:16:37+00:00)
Title: Fix remote uniqueness validation because of double slash

This fixes an issue I had:

Started GET "/uniqueness?case_sensitive=true&user%5Bemail%5D=beat.besmer%40gmail.com&_=1367362834432" for 127.0.0.1 at 2013-05-01 01:00:45 +0200

ActionController::RoutingError (No route matches [GET] "/uniqueness"):

The problem was that the url would contain two slashes `//` (JS Console)

JSCONSOLE> ClientSideValidations.remote_validators_url_for('uniqueness')
"//localhost:3000//validators/uniqueness"

Also see