https://leanpub.com/multi-tenancy-rails