consolo/acts_as_restricted_subdomain — pull request #5 by jhollinger (2013-07-03 20:24:25+00:00)
Title: Make Agency.current thread-safe

Uses `Thread.current['current_subdomain']` to store the current subdomain record. Also adds a subdomain-aware implementation of `reset_session`.