@bradgessler if you are willing to do multitenancy using postgres native rls feature:
https://t.co/fDWTzdPm3F
been using it in production for a couple of months now
I'm the main maintainer
feel free to take a look and collaborate 🙂
@bradgessler Most of the gotchas are the same ones you already have with the Apartment gem: tenant context propagation, background jobs, etc. The difference is that with RLS the database becomes the safety net, so even if a developer forgets a tenant_id filter, data isolation still holds.
@PeladoNerd en la empresa hace ya 8 años lo usamos felices en todos los proyectos, una vez que le agarras la vuelta a ser ordenado con el schema y a la seguridad va muy bien