I came across a little problem when using callbacks. Sidekiq::Batch::Callback::Worker#perform makes use of ActiveSupport String#constantize method. For non-Rails apps for which ActiveSupport is not embedded by default, it crashes. I solved the issue by providing my own version of String#constantize.
We can either add an explicit dependency to ActiveSupport or directly provide a version of String#constantize.
Hi! Nice gem!
I came across a little problem when using callbacks.
Sidekiq::Batch::Callback::Worker#perform
makes use of ActiveSupportString#constantize
method. For non-Rails apps for which ActiveSupport is not embedded by default, it crashes. I solved the issue by providing my own version ofString#constantize
.We can either add an explicit dependency to ActiveSupport or directly provide a version of
String#constantize
.