Are there any best practices for designing multitenant applications
using rails? Would I want to run 10 instances of the same application,
or one instance of an application that can handle 10 tenants?
What if I was making a forum, for example, and people could come and
sign up and create their own forums. Are there any good ways for
segregating all the topics in one forum from all the topics in
another? All the users in one forum from all users in another?
I realize this question is rather vague, and the real reason I’m
asking is that people are saying good things about using RESTful
resources and things in rails applications, but it doesn’t seem like
it would handle multitenant applications very well. I would certainly
want a different posts/get route for each tenant, for example.