I\'m trying to find a robust method of joining partial url path segments together. Is there a quick way to do this?
I tried the following:
puts URI::
You can use File.join('resource/', '/edit', '12?option=test')
File.join('resource/', '/edit', '12?option=test')