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 needed the application URL but with the subdirectory. I used:
root_url(:only_path => false)