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
I think that the Ruby on Rails 3.0 method is now request.fullpath.
request.fullpath