instance method
request_uri
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.0.20Signature
request_uri()
Returns the request URI, accounting for server idiosyncrasies. WEBrick includes the full URL. IIS leaves REQUEST_URI blank.
Source
# File actionpack/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
Defined in actionpack/lib/action_dispatch/http/url.rb line 100
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Http::URL