How can I get the current url i'm looking at?

You can always look at your browser's address bar or bookmark it.

Or, within the context of Rails,

http://api.rubyonrails.org/classes/ActionController/AbstractRequest.html#M000469