Model based dynamic subdomains for a rails app