Anyone notice that :host option does nothing?

In the documentation for url_for, it says that if you provide a :host
parameter, it will override the current host. It doesn’t though, unless
I’m using it wrong.

Has anyone had any success using this option? If it doesn’t work, it
should be taken out of the documentation or fixed.

Make sure you set ‘:only_path => false’.

It works for me if I do that.

Michael G. wrote:

Make sure you set ‘:only_path => false’.

It works for me if I do that.

Thanks!