8 questions
0
votes
1
answer
96
views
Hotwire Turbo Streams not refreshing when using Solid Queue as Active Job backend in Rails
I created a model named monitor_target.
In app/models/monitor_target.rb, I have
after_commit -> {broadcast_refresh_later_to "monitor_targets_stream"}
Then in my app/views/monitor_targets/...
0
votes
1
answer
368
views
Discarding a job in Solid queue when same job is already in the queue in Ruby on Rails
I have a simple job in rails that's run every 15 minutes.I am using the default Solid queue setup for jobs.
class ContinuousSearchJob < ApplicationJob
def perform
keyword = Keyword.first
...
0
votes
0
answers
81
views
solid_queue jobs dont run in windows
I have an application in Ruby on Rails 8.0.1 on Windows OS and I am trying to use the solid_queue adapter in ActiceJobs, as described in the official documentation. But when I run ruby bin\jobs start,...
0
votes
2
answers
531
views
How to handle failed Rails ActiveJob after max attemps reached?
I'm looking for a way to handle Rails ActiveJob jobs that reached the max retry attempts.
Here is the snippet of my code:
class SomeJob < ApplicationJob
queue_as :default
retry_on StandardError,...
1
vote
1
answer
2k
views
Destroying scheduled jobs from Solid Queue
I have a Rails app that allows users to sign up and add a list of friends or loved ones with their birthdays. The app will then email the user on their loved ones' birthdays (reminder).
To achieve ...
0
votes
1
answer
2k
views
Solid Queue isn't processing jobs in queues
I'm using the Solid Queue library to send emails. I followed the instructions provided in it's README file and videos from the GoRails & Webcrunch. Once the database is setup with Solid Queue ...
1
vote
1
answer
400
views
why is mission_control-jobs erroring with load path error?
I have been attempting to set-up mission_control-jobs to a rails 7 app using SolidQueue, but I keep running in to the following error when accessing http://localhost:3000/jobs
Propshaft::...
3
votes
3
answers
430
views
How to use Rails SolidQueue Mission Control with Pundit policies?
I've been using SolidQueue for a bit with good success. Mission Control was just released, so I added that gem and configuration. However, upon visiting the /jobs page I get the following error:
...