There are a lot of articles in the net about dealing with subdomain accounts in Rails. See this for example. However, I cannot find a simple way of making an account key as the top-level directory of the url. That is, I want to convert my
http://account.domain.tld url to
So far, the best all-around gem I've come so far to dealing with this is routing filter.
Any other ideas?