Michael Smith

Joined

60 Experience
0 Lessons Completed
0 Questions Solved

Activity

seems so obvious now 😀
ActsAsTenant.current_tenant.id
that will get the current account ID

I can see that everything is scoped to the tenant via ActsAsTenant.with_tenant
https://github.com/ErwinM/acts_as_tenant/blob/master/lib/acts_as_tenant/sidekiq.rb

but wondering if I wanted to access the ID or the tenant object, how could I do this?