Follow

Is there anyone working on a multitenant app? What are you guys using? Any tips & tricks you’re willing to share?

I’ve been working on one such app for the past several months. I used the Apartment gem as base and the implemented some custom machinery on top of it for theming, emails and such.

I would love to hear your experiences and compare notes :)

@fuji Just saw this :)

We don't use apartment gem

We use postgres and set the schema search on connect

About 200 clients and 100 tables

It works, but we're thinking of moving to apartment style multi tenant

Does have the great advantage of being able to manage each client's data separately and no chance at all of data bleed

To make it easy to transition from multi schema we wish we'd used UUID everywhere instead of int :)

Sign in to participate in the conversation
Ruby.social

A Mastodon instance for Rubyists & friends