SubdomainFu provides a modern implementation of subdomain handling in Rails. It takes aspects from account_location, request_routing, and other snippets found around the web and combines them to provide a single, simple solution for subdomain-based route and url management.
SubdomainFu is available both as a traditional plugin and a GemPlugin. Requires Rails 2.1+. More information is available at http://github.com/mbleigh/subdomain-fu.
Author: Michael Bleigh
Installation:
ruby script/plugin install git://github.com/mbleigh/subdomain-fu.git