The Teams component from Instrumental Components is designed to help you build multi-user apps, where users can belong to multiple teams. With the Teams component, your Rails app will have:
Before you can install the Teams component, you'll first need to install the Authentication component. Then proceed with Teams component installation:
rails g instrumental:teams
rails db:migrate
For more on building your multi-user app, read up on all the parts of the Teams component:
I created Instrumental Components to make designing and building professional apps with Ruby on Rails easy, fast, and fun. I use it on all of my projects and I hope it helps you build something great.