RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

How to set a default queue name for all jobs in Rails?

I’m working on a gem for sharing common Rails code between my apps. I just added there a first job and hit a problem - the job from the gem was using default queue which doesn’t exist. Here’s how I changed all jobs to use a specific queue without using queue_as or extending ApplicationJob.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in