Data dodania Pytanie
2017-11-17 14:11 Rails serialization error for async geocoding with ahoy gem using mongoid »
I have a Rails 5 app, running both a postgresql DB for application data and MongoDB (mongoid) for analytics, generated by the fantastic ahoy gem. Eve...
(1) odpowiedzi
2017-10-13 11:10 Test that Delayed Job is called »
I am trying to test that a part of my code is running a DelayedJob. Here's code: def start_restream ... puts 'Here' Delayed::Job.enqueue(Restre...
(1) odpowiedzi
2017-09-06 12:09 Exclude queue from delayed_job worker »
In delayed_jobs it is possible to run a worker for a specific queues. I can't seem to find any examples/documentation on how to run a worker and exclu...
(0) odpowiedzi
2017-08-25 20:08 How I can access the ActiveRecord Job after enqueuing a job »
I want to access my ActiveRecord job item after enqueueing a task job = MyCustomJob.perform_later Job is a MyCustomJob, but how I can access it wi...
(1) odpowiedzi
2017-08-06 14:08 Run a ruby on rails job every night at a specific time »
I have a job like this : class LdapSyncJob < ApplicationJob queue_as :default require 'pp' def perform users = User.all users.each d...
(1) odpowiedzi
2017-07-17 17:07 ActiveJob using delayed_job does not create delayed_jobs row in test »
Under Rails 4.2.3, I have setup ActiveJob to use delayed_job for its backend in all environments: environment.rb require File.expand_path('../boot',...
(0) odpowiedzi
2017-07-17 14:07 Delayed job: uninitialized constant error »
I am trying to save pdfs using delayed job. Here is what have done so far. gemfile gem 'delayed_job', '~> 4.1', '>= 4.1.3' gem 'delayed_job_a...
(0) odpowiedzi
2017-07-11 14:07 Delayed job picking attributes from table differently in different environments »
I am using delayed job to queue a Model method in another Model like this: article_loader.rb date_value_in_string = "2017-06-21 07:17:00" Article.d...
(0) odpowiedzi
2017-07-06 09:07 String value gets converted to Time object when a model method is called using delayed job »
I am using delayed job to queue a Model method in another Model like this: article_loader.rb date_value_in_string = "2017-06-21 07:17:00" Article.d...
(1) odpowiedzi
2017-06-25 16:06 Rails mailer with delayedjob not rendering the changes like its cached, deliver_now works fine »
I have a rails application which I send mails with delayedjob and deliver later, my changes in the view doesnt show up stays like before, when I try i...
(1) odpowiedzi
2017-06-02 10:06 Testing jobs that reschedule themselves until an action is done »
Suppose I want to send my users periodic reminders (emails) of their TODOs. I want to keep sending those emails as long as they have not done it (and ...
(0) odpowiedzi
2017-05-23 21:05 active_recrod_delayed_job is being ignored »
i have used `active_record_delayed_job' before without problem. i added to Gemfile gem 'delayed_job_active_record' rails g delayed_job:active_rec...
(0) odpowiedzi
2017-05-15 18:05 nomethod error in ActiveJob »
I am getting the following error after running bundle exec rake jobs:work FAILED (0 prior attempts) with NoMethodError: undefined method `post_it...
(1) odpowiedzi
2017-05-11 02:05 Why won't the Delayed Job error callback execute? »
I am trying to follow this guide about handling API rate limits with Delayed Job. Here is my job: # app/jobs/mailer_job.rb class MailerJob < Stru...
(1) odpowiedzi
2017-05-05 18:05 How to get delayed job to log the actual job name with ActiveJob? »
I'm using ActiveJob with DelayedJob and in both the WebUI and the delayed job logs it shows the job name as JobWrapper. This makes it hard to see what...
(0) odpowiedzi
2017-05-02 13:05 How to perform a background job now? »
I want to execute this on background Product.all.map { |product| product.save } When I save the product will call a callback to create a new record...
(1) odpowiedzi
2017-04-30 06:04 Argument not passing on Delayed::Job method »
I'm using Delayed::Job to send the sms from a rails application.I've included gem as follows on Gemfile. gem 'delayed_job', "~> 4.1.1" I've also...
(1) odpowiedzi
2017-04-29 08:04 Delayed job not entering into the main jobs queue after the mentioned delayed time lapses while using Resque-scheduler and redis »
I need to perform a job wherein each time an order is created it is assigned to a vendor and if the vendor does not accept the order and updates the s...
(0) odpowiedzi
2017-04-04 13:04 Getting retry count insite ActiveJob backed by DelayedJob adapter »
I would like to send an email message on each job retry. Here is the sample job: class RetryTestJob < ActiveJob::Base queue_as :default def p...
(0) odpowiedzi
2017-03-07 13:03 Resque scheduler Active Job on Redis Server enqueued but not running »
I have a rails app where an order is assigned to a vendor and the vendor has to accept the order within the next 15 minutes (for test purpose, I am ke...
(0) odpowiedzi
2017-02-16 06:02 Unable to test delayed job from Rspec »
I have a sinatra app where I use delayed jobs to run log running jobs in my application. I want to test my application with rspec. Below is my app.rb ...
(0) odpowiedzi
2017-02-02 17:02 What might cause scheduled Rails Active Jobs to disappear? »
I have a suspicion that some our active jobs are disappearing but I don't know why. Below is one I have found the evidence for it's disappearance, but...
(2) odpowiedzi
2017-01-28 10:01 ActiveJob issue implementing Delayed_job »
For my personal website build with Rails 5, I'm trying to implement a job for sending a contact form. I'm using the delayed_job_active_record gem. I ...
(0) odpowiedzi
2017-01-16 06:01 When are versions NOT processing using carrierwave_direct? »
I have just switched from carrierwave_backgrounder to carrierwave_direct. I have carrierwave_direct set up and functioning. That is, the main file i...
(0) odpowiedzi
2016-12-20 19:12 In Rails is there a way to group a series of active jobs executing in parallel and be notified when they all complete? »
In Rails is there a way to group a series of ActiveJobs executing in parallel on different instances of the same queue, and be notified when they all ...
(0) odpowiedzi
2016-12-20 05:12 How to extend ActiveJob to access delayed_job's failure/error hooks? »
I'm using rails ActiveJob's delayed_job adaptor, but would like to still be able to access delayed_job's error and failure hooks to trigger notificati...
(0) odpowiedzi
2016-12-10 14:12 Disable logging for column in activerecord/activejob 4.2 »
is there any way to disable logging for certain columns in ActiveRecord/ActiveJob? I'm using delayed_job to queue mailing jobs with attachments, but ...
(0) odpowiedzi
2016-11-30 16:11 Disable ruby on rails job for test »
I'm writing controller test with rspec and after action completed, my job supposed to send email to the admin user. But I'd like to disable this job f...
(2) odpowiedzi
2016-11-19 21:11 Delayed job: Set max run time of job , not the worker »
I have below piece of code : Converter.delay.convert("some params") Now I want this job to be run for max 1 minute. If exceeded,delayed job should ...
(1) odpowiedzi
2016-09-27 10:09 How to start Delayed Job with Ubuntu? »
I use Delayed Job as a queuing backend for Active Job on my Rails 5 app but I have no idea how to start the worker on Ubuntu 14.04 after startup. Shou...
(1) odpowiedzi
2016-09-11 00:09 Delayed::Job ffmpeg hangs when processing large files using delayed_paperclip »
I am trying to use delayed_job to process large videos and audio files in the background. For the most part everything works. The only time it runs in...
(0) odpowiedzi
2016-08-01 20:08 Rails: How to check if an email is already enqueued »
How to check that an email is already enqueued, Im using active job: ofert_approved_notifier = Notifier.ofert_approved(@ofert.user, @ofert) if ofe...
(1) odpowiedzi
2016-07-30 17:07 Storing current optional route scope before calling deliver_later on rails mailer »
Rails 4.2 Ruby 2.3 I have two optional routing scopes relating to locale information. They are set in a before_action in the application_controller ...
(1) odpowiedzi
2016-07-05 20:07 Queueing in Delayed_Job with ActiveJobs »
In a controller, I have a post request by an authenticated user firing an ActiveJob. RunReportsJob.perform_later(param1, param2, param3) It works ...
(1) odpowiedzi
2016-07-04 09:07 Scheduling with Clockwork/Delayed_Job/ActiveJob to run every 5 minutes (round) »
I am reading some sensor values and I want to schedule recurring jobs in order to repeat every :00, :10, :15, :20, :25, :30, :35 etc. I am using clo...
(0) odpowiedzi