There are some cases when you want to get a current request absolute URL. Thankfully, Rails got you covered on this one and provides a simple way for that: request.original_url This’ll return an absolute full URL, including schema, host, port, path, and query string, but without an anchor. So, for…