multi-tenant for rails 3.1+ projects