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
After enable YJIT I got the following error on my local while fetch data in multi tenancy context
NoMethodError - undefined method `<<' for #<MultiTenant::ArelVisitorsDepthFirst:0x0000ffffb658d250>:
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
=> #<User:0x0000ffff7c3b44e0
c06a55bafd73:/app# bin/rails r 'p RubyVM::YJIT.enabled?'
DEBUGGER[-e#190]: Attaching after process 135 fork to child process 190
Running via Spring preloader in process 190
true
activerecord-multi-tenant (1.2.0)
rails 6.1.7
I'm not seeing anything about this in the issue or changelog... am I missing something?
The text was updated successfully, but these errors were encountered:
Overview
After enable YJIT I got the following error on my local while fetch data in multi tenancy context
And on rails console, I tried fetch data in multi tenant block and got following
I can fetch data with
MultiTenant.without
blockMy local environment
I'm not seeing anything about this in the issue or changelog... am I missing something?
The text was updated successfully, but these errors were encountered: