Trying to get superworker working but get a "NameError: wrong constant name " on initialisation. I see someone had a similar issue here. I declare new workers in a superworkers.rb in initialzers:
Superworker.define(:RecsWorker) do
TestWorker.perform_async
RecommendationsWorker.perform_async
end
Hey guys,
Trying to get superworker working but get a "NameError: wrong constant name " on initialisation. I see someone had a similar issue here. I declare new workers in a superworkers.rb in initialzers:
Superworker.define(:RecsWorker) do TestWorker.perform_async RecommendationsWorker.perform_async end
I'm using Rails 4.
Thanks,
j