citusdata / citusdata/activerecord-multi-tenant
MultiTenant throw undefined method `<<' for #<MultiTenant::ArelVisitorsDepthFirst:0x0000ffff8e8a3c78> with YJIT
- Dominant language
- Ruby
- Stars
- 759
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
### Overview
After enable YJIT I got the following error on my local while fetch data in multi tenancy context
```
NoMethodError - undefined method `<<' for #:
```
And on rails console, I tried fetch data in multi tenant block and got following
```
[2] pry(main)> MultiTenant.with(Tenant.uuuo) do User.find(10) end
TypeError: no implicit conversion of Class into String
from /usr/local/bundle/gems/activerecord-6.1.7.8/lib/arel/collectors/plain_string.rb:15:in `<<'
```
I can fetch data with `MultiTenant.without` block
```
[4] pry(main)> MultiTenant.without do User.find(0) end
=> #
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.