url()
Returns the complete URL used for this request.
# File actionpack/lib/action_dispatch/http/url.rb, line 149 def url protocol + host_with_port + fullpath end