Forum: JRuby Rails 4.2 URI::InvalidURIError

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C56d14d32eddc6e2bd6364bc2ebbf542?d=identicon&s=25 Andy Joel (f2andy)
on 2015-02-11 12:15
I was getting this error in my integration tests, and Google failed to
shine a light.

URI::InvalidURIError: the scheme http does not accept registry part:
www.example.com:80reset_password (or bad hostname?)

Eventually I realised a couple of my get and post commandss were missing
the slash from the start of the URL (and Rails 4.1 had no problem with
that).

  get "signup"

Should be

  get "/signup"

Hopefully this will save someone some head-scratching.
This topic is locked and can not be replied to.