For rails I’ve used que in the past, which is a job queue adapter for Postgres. It supports activejob.

https://github.com/que-rb/que