[PR 12064] A queue with namespacing support.

Hey all,

I’ve been eagerly following the development of 4.0 and 4.1, especially the Queue API, and have been running the jobs branch in production for a few projects. I know that one thing blocking progress for a 4.1 queue release is debate about what the interface should look like. Specifically, I know there were a few requests for an interface that allowed for namespacing through Rails.queue[:namespace]. I liked that idea and wanted to help contribute, so I implemented an interface that allows you to call, for example, both Rails.queue.push and Rails.queue[:namespace].push.

I know there is continual debate about how this feature should look, so this PR was really just meant to be a design proposal. I’d love to hear feedback from the community and most importantly help contribute to this feature in any way I can.

https://github.com/rails/rails/pull/12064

Thanks for everything,

Hank