Want more GoRails?

GoRails is packed full with over 350 lessons just like this one.

Sign up to get full access or log in to your account and sit back.

How to Upgrade Old Projects: ActsAsTenant

#371 ยท November 17, 2020

Your Teacher

Hi, I'm Chris. I'm the creator of GoRails, Hatchbox.io and Jumpstart. I spend my time creating tutorials and tools to help Ruby on Rails developers build apps better and faster.

About This Episode

ActsAsTenant needed some maintenance so we're going to walk through the steps of refactoring the gem and Rspec test suite


ActsAsTenant is a popular Rails gem for adding multitenancy to your applications. I've been using it heavily in Jumpstart Pro, but the gem hasn't been actively maintained in about a year.

I've forked the gem and begun the process of updating it to work with Rails 6 and higher. I wanted to show you the process of working through an old project like this and getting it up-to-date. Refactoring tests and library code is all key to modernizing a project like this.


Want to stay up-to-date with Ruby on Rails?

Join 73,895+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2023 GoRails, LLC. All rights reserved.