How can I get the curren开发者_如何学运维t absolute URL in my Ruby on Rails view? The request.request_uri only returns the relative URL.For Rails 3.2 or Rails 4+