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
You can set a variable to URI.parse(current_url), I don't see this proposal here yet and it works for me.
URI.parse(current_url)