🚨 Pay Just $95/Year (Save 50%)—Black Friday Deal!

Moneygun - Add ActsAsTenant to an existing application | SupeRails #209

30/10/2024
Mulitenancy saas saas boilerplate
  • Multitenancy basics
  • Install ActsAsTenant
  • Enforce Require tenant

Enhance Multi-Tenancy with ActsAsTenant in Rails!

In this episode, we’re diving into ActsAsTenant—a gem that strengthens your multi-tenancy setup by ensuring that each tenant can only access their own data.

While ActsAsTenant doesn't provide the database architecture for multi-tenancy, it adds an essential layer of security and data isolation to your Rails app.

In the previous episode, I introduced Moneygun, a multi-tenancy boilerplate for Rails.

Now we’ll take it a step further by integrating ActsAsTenant into our existing setup, enhancing security and data management.

0:00 Multitenancy basics
1:50 Install ActsAsTenant
5:30 Enforce Require tenant

Pull Request adding ActsAsTenant https://github.com/yshmarov/moneygun/pull/120

Gem ActsAsTenant: https://github.com/ErwinM/acts_as_tenant

0
Inicia sesión para unirte a la conversación