bradrobertson/apartment — pull request #39 by lcowell (2012-05-18 18:45:31+00:00)
Title: added Domain middleware which switches databases based on the second level domain

This is very similar to Elevators::Subdomain, but matches for a second level domain instead of a subdomain. Feedback welcome.