In my app, I've set relative_url_root to "/app/lts-test" and and my default_url_options are also set as follows:
:protocol => "https",
:port => nil,
:only_path => false,
:script_name => '/app/lts-test' }
Notice that my host is a full URL (which I normal, I guess):
example.com
When Hobo calls into its route_helper, though, the regex is set to look for my relative_url_root at the beginning of the string ("gsub(/^#{Rails...."), which fails because at this point my url is actually this:
This means, the "/app/lts-test" part isn't being removed, causing other failures such as this:
I tried switching my default_url_options to be :only_path => true which partly solves the problem, but then causes trouble with other routes that expect a full path, even ones that within Hobo that I've not overridden.
So, does this strike you as an error? Why would the relative_url_root be searched for only at the beginning of the string? It seems to make more sense to remove it from anywhere in the entire url string.
Your thoughts?
Tim