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
if you want to be specific, meaning, you know the path you need:
link_to current_path(@resource, :only_path => false), current_path(@resource)