You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Justin Coyne edited this page Jan 27, 2017
·
1 revision
How does activejob work with tenants
the config/initializers/apartment_activejob.rb initializer includes ActiveJobTenant onto ActiveJob::Base. This module adds a tenant key on the queue messages and calls Apartment::Tenant.switch around the perform method.