As Rails’s SQLite support has improved, it's finally possible to have truly multi-tenant Rails applications - isolated data for each account! - without sacrificing performance or ease of use. This talk describes a novel, production-vetted approach to isolating tenant data everywhere in Rails: the database, fragment caches, background jobs, Active Storage, Turbo Stream broadcasts, Action Mailer, and even the testing framework. Learn how to build a new multi-tenant app or migrate an existing one, and the technical details of how Rails can support multiple tenants and strict data isolation. You'll see a live demonstration of a multi-tenant app, and you'll learn why a deployment topology like this might make sense for you, and how it scales up and out. Find Mike's slides here: #rails #rubyonrails #sqlite #multitenancy Thank you Shopify for sponsoring the editing and post-production of these videos. Check out insights from the Engineering team at: Subtitles (Japanese, Spanish, and Brazilian Portuguese) thanks to Happy Scribe, a transcription service built on Rails.











