ErwinM / acts_as_tenant

Easy multi-tenancy for Rails in a shared database setup.
MIT License
1.56k stars 264 forks source link

Sidekiq autoload #314

Closed nunommc closed 1 year ago

nunommc commented 1 year ago

🔧 Changes

Initializers won't need to call require 'acts_as_tenant/sidekiq' anymore, that can be removed from any repos once these changes are released.

excid3 commented 1 year ago

I adjusted this to delay the Sidekiq integration until after ActiveRecord is loaded to ensure Sidekiq was already required in the parent application.