My main rails app has a MultiTenent feature. I need to run something like this:
MultiTenant.current_tenant = Company.find(9)
When I start every Pry session or when I reload!
. Can I configure Pry to do this automatically?
My main rails app has a MultiTenent feature. I need to run something like this:
MultiTenant.current_tenant = Company.find(9)
When I start every Pry session or when I reload!
. Can I configure Pry to do this automatically?