New rails project.
Rails 5.0.2 Sidekiq 4.2.10
I ran rails g sidekiq:worker deposit_collector
and then filled out the code I needed inside the perform
method.
To test I logged into the rails console and typed: DepositCollector.perform_async
and I get the error:
NameError: uninitialized constant DepositCollectorWorker
The worker is where it should be in the app/workers/
folder. I've used sidekiq on several projects before and have never run into this.
worker.rb
– Digastric