Simple middleware to set up a Multitenant environment.
Add this line to your application's Gemfile:
gem 'tenancy', git: 'git://github.com/farrows76/tenancy.git'
And then execute:
$ bundle
Or install it yourself as:
$ gem install tenancy
On its way
This will be out soon too
The gem is available as open source under the terms of the MIT License.