Getting Started

This section will guide you through the process of installing and setting up activerecord-multi-tenant in your Rails application.

Installation

To install activerecord-multi-tenant, add the following line to your application’s Gemfile:

gem install activerecord-multi-tenant

Then execute:

$ bundle install

Or install it yourself as:

$ gem install activerecord-multi-tenant

Dependencies

activerecord-multi-tenant requires:

  • Ruby version 3.0.0 or later

  • Rails version 6.0.0 or later

Please ensure that your application meets these requirements before installing the gem.