You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something quite small, but if you click Run now in the first scheduled job (or any I guess) when you're redirected to the index page, that same job will still appear in the page, even if it has already been scheduled. If you click Run now, you'll get an exception:
"This operation can only be performed on blocked or scheduled jobs, but this job is
DispatchesController#create
This operation can only be performed on blocked or scheduled jobs, but this job is finished
# raise an error +ActiveJob::Errors::InvalidOperation+ otherwise.
def dispatch_job(job)
raise ActiveJob::Errors::InvalidOperation, "This operation can only be performed on blocked or scheduled jobs, but this job is ...
The text was updated successfully, but these errors were encountered:
Something quite small, but if you click
Run now
in the first scheduled job (or any I guess) when you're redirected to the index page, that same job will still appear in the page, even if it has already been scheduled. If you clickRun now
, you'll get an exception:The text was updated successfully, but these errors were encountered: