Retrieving whole URL in rails

I was wondering if there is a method (or a way in any sense) to gather the whole URL (the current one, the url in which a hypothetical user is seeing in the moment), with all the detail (with all the http://,subdomains, etc) not only the relative path...

Can anyone help me with this?

Thank you.