Method: ActionDispatch::Http::URL#request_uri

Defined in:
lib/action_dispatch/http/url.rb

#request_uriObject

Returns the request URI, accounting for server idiosyncrasies. WEBrick includes the full URL. IIS leaves REQUEST_URI blank.



100
101
102
103
# File 'lib/action_dispatch/http/url.rb', line 100

def request_uri
  ActiveSupport::Deprecation.warn "Using #request_uri is deprecated. Use fullpath instead.", caller
  fullpath
end