Flowdock
method

request_uri

Importance_1
v3.0.9 - Show latest stable - 1 note - Class: ActionDispatch::Http::URL
request_uri() public

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

Show source
Register or log in to add new notes.
November 21, 2011 - (>= v3.1.0)
0 thanks

Rails 3.1 - Use request.url instead

As request.request_uri has been deprecated, use

request.url

instead.