Replies: 2 comments
-
|
I don’t know the issue. Rails autoloading is not something I can support very effectively as there’s a million ways you can configure your app into breaking it subtly. I would advise against hacks like that initializer. Focus on figuring out the root cause, I don't know what side effects that snippet might have. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Sounds good, that makes sense. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This may not be an exactly Sidekiq issue, but this issue only happens in a Sidekiq process, so wanted to bring it up here.
We are getting this issue in
active_record/destroy_association_async_job.rb:20:in perform, so this code - https://github.com/rails/rails/blob/main/activerecord/lib/active_record/destroy_association_async_job.rb#L20C27-L20C44We do use this gem in the project - https://simonecarletti.com/code/publicsuffix-ruby/
I read somewhere that adding this in
sidekiq.rbinitializer may fix this issue. So the question is, is it safe to add this in Sidekiq?Versions:
Beta Was this translation helpful? Give feedback.
All reactions