I have a Rails 3.2 app using a naked domain (e.g. doma.in
) and I'd like to redirect all subdomains (including root) to www.doma.in
.
The gem rack-www does this nicely. However, now all of my integration tests are breaking. I'm using Capybara-webkit and Turnip.
Help! Thanks in advance.