Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: bcardiff
Is there a way to setup a default subdomain for all helpers?
Let's say I have www.domain.com and foo.domain.com . I would like to all helper (links, forms, urls, ...) render by default with the www subdomain, despite the request was targeted to either host.
I tried set default_url_options to :subdomain => false (performing all needed steps) but couldn't make it.