How can I get the current absolute URL in my Ruby on Rails view?
The request.request_uri only returns the relative URL
request.request_uri
request.env["REQUEST_URI"]
works in rails 2.3.4 tested and do not know about other versions.