# Multiple tenants on Rails

**URL:** <https://www.ruby-forum.com/t/multiple-tenants-on-rails/150186>\
**Category:** Rails\
**Created:** [October 5, 2008, 4:48pm UTC](https://www.ruby-forum.com/t/multiple-tenants-on-rails/150186 "2008-10-05T16:48:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Commander\_J](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a8b319/32.png) [@Commander\_J](https://www.ruby-forum.com/u/Commander_J)\
**Post date:** [October 5, 2008, 4:48pm UTC](https://www.ruby-forum.com/t/multiple-tenants-on-rails/150186/1 "2008-10-05T16:48:26Z")

</div>

Hi,  
I’ve dug into some previous discussion on this list about having  
multiple  
clients running on a single Rails site.

I can see how to work this out with a single project type. For example,  
my  
tenants all have their own CMS in a single Rails environment.

What if 3 of my clients have a CMS site, 5 have an e-book site and 2 a  
dating site. Is there a way to house these websites within a single  
Rails  
environment so that reporting and tenant management can still be  
relatively  
easy?

I would say that administrating one big site platform would be better  
than  
having a loosely-knit pack of sites.

Any thoughts on this?

CmdJohnson

---

<div class="post-metadata">

**Author:** ![Commander\_J](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a8b319/32.png) [@Commander\_J](https://www.ruby-forum.com/u/Commander_J)\
**Post date:** [October 6, 2008, 1:02pm UTC](https://www.ruby-forum.com/t/multiple-tenants-on-rails/150186/2 "2008-10-06T13:02:06Z")

</div>

As long as the sites are similar enough in their underlying  
functionality… I’ve got a couple of clients who are running on the  
same app, made possible by theme support included in the multisite  
plugin.

[http://code.google.com/p/rails-multisite/](http://code.google.com/p/rails-multisite/)

On Oct 5, 9:41 am, “Commander J.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
