request.url returns me this : http://localhost:3000/page?foo=bar.
Is there a method I can call to get http://localhost:3000/page , or do I have to parse the string t
To get the request URL without any query parameters.
def current_url_without_parameters request.base_url + request.path end