Michael Smith

Joined

1,270 Experience
12 Lessons Completed
0 Questions Solved

Activity

Posted in Checking Domain Expirations With RDAP Discussion

for sure, always good to see and app build end to end with all the little things that come up along the way.

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?