Start bundle exec rake solid_queue:start in a new shell.
3 .Enter the Rails console in another shell.
In the console, run FieldSlipJob.perform_later(:test_arg).
cat tmp/fs-*.txt should show [:test_arg].
After you're done test you probably want to run rm tmp/fs-*.txt.
To actually get this working in production we'll need run the process in step 2 in the background. Also note that this does inflate the logs a bit since it polls the queue fairly often.
coverage: 94.402% (+0.001%) from 94.401%
when pulling b535a8ec900c281dc028c21ca93c7faa7e724fdc on njw-solid-queue
into dfa9ac66dac2e48134d911e0b50aae281c73cdb0 on main.
To test:
bundle exec rake solid_queue:start
in a new shell. 3 .Enter the Rails console in another shell.FieldSlipJob.perform_later(:test_arg)
.cat tmp/fs-*.txt
should show[:test_arg]
.After you're done test you probably want to run
rm tmp/fs-*.txt
.To actually get this working in production we'll need run the process in step 2 in the background. Also note that this does inflate the logs a bit since it polls the queue fairly often.