Data dodania Pytanie
2017-02-18 16:02 Sidekiq active job , how to run one job at a time? (non-concurrent run) »
so, i have this job where it is able to be requested multiple times. however, when i run sidekiq, i want the jobs to be run one job at a time, in a qu...
(1) odpowiedzi
2017-02-18 14:02 Sidekiq Active job function perform_later not working »
so this is my first time working with an active job. I chose the sidekiq adapter , and currently i am having this issue. I want to queue up my jobs ...
(1) odpowiedzi
2017-02-17 16:02 External web service for sending background emails in rails »
I've used this instructions and sent "Welcome" mail to my signed up user. But this makes the user wait for 5-8 seconds because the server is trying to...
(1) odpowiedzi
2017-02-11 04:02 Rails4: Use two types of background job engines in one RoR application »
As far as I know Rails provides active job for the background job interface. We could use Delayed Job, Resque, Sidekiq. For now, I use Sidekiq and e...
(0) odpowiedzi
2017-02-09 22:02 How to use ActiveJob in combination with accepts_nested_attributes_for »
Given the following example model: class Foo < ActiveRecord::Base has_many :foobars has_many :bars, through: :foobars accepts_nested_attribu...
(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-30 10:01 active job in rails 4 »
I am looking forward to active job for active record for rails 4. I search related to it. I found gem 'delayed_job_active_record' . But this supports ...
(1) 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
2017-01-05 23:01 Sidekiq + ActiveJob callbacks run too fast »
I use Sidekiq with ActiveJob and its callbacks. At the beginning I'd like to say that my problem sounds very similar to this one: https://github.com/m...
(0) odpowiedzi
2017-01-02 23:01 Error while queueing an email with Sidekiq »
When sending an email with sidekiq as a queue using deliver_later. I'm getting this error: ActiveJob::DeserializationError: Error while trying to...
(1) odpowiedzi
2017-01-02 12:01 ActiveJob spec doesn't work with ActionController::Parameters »
My test: describe TasksCsvsController do describe '#index' do let(:params) { {'clients' => {'id' => ['1', '2', '3']}} } before do ...
(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-19 19:12 ActiveJob: Accessible instance variables between callbacks »
I have the following snippet within my job: before_enqueue do |job| # do something @car = create_car end before_perform do |job| # do somethi...
(0) odpowiedzi
2016-12-16 08:12 ActiveJob could not find record in `test` environment »
This issue only exists in test environment. Everything runs fine in development environment. I am facing a strange issue after recently upgrading to ...
(2) odpowiedzi
2016-12-15 22:12 Encoding error using wicked_pdf and rails ActiveJob »
I am using wicked-pdf to simplify generating pdf invoices in my Rails 5 application. I have two actions making use of the pdf functionality of wicked-...
(1) odpowiedzi
2016-12-12 21:12 Should jobs within jobs use perform_later or perform »
I'm calling ExampleJob.perform_later in an action. This job is in turn calling two other jobs (see below). Should these as well have the method perfo...
(1) 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-12-07 04:12 How to test that ActiveJob is enqueued? »
I have a create action that calls an ActiveJob if the record is successfully saved. def create @object = Object.new(importer_params) respond_to ...
(1) odpowiedzi
2016-12-02 01:12 Rails 4 ActionMailer deliver_later method not working if given extended wait period »
I have a Rails application that is hosted on Heroku that has a feature to send delayed emails. So the deliver_later! method for ActionMailer is able ...
(0) odpowiedzi
2016-11-30 18:11 ActiveJob::SerializationError - Unsupported argument type: Time / DateTime »
I am using Rails 5 and ActiveJob to process background tasks. I am trying to pass a object serialized with as_json to my job but I am receiving the f...
(1) 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-25 22:11 How can I make an ActiveJob wait for other instances of that job? »
I want a job to refresh a database view on certain actions. The job can get called multiple times in short order. I want it to execute the task only t...
(0) odpowiedzi
2016-11-23 13:11 How to achieve sequential processing in Rails? »
I have a task which has to be performed in sequential manner. It's mosty a database writing. The problem is that I have hard time to achieve it in Ra...
(1) odpowiedzi
2016-11-19 06:11 Rails 5 Active Job and Sidekiq not sending mailer »
So I am very new to sidekiq and activejob, I know that i dont need to background job a mailer that being sent on an account creation, however I really...
(1) odpowiedzi
2016-11-14 21:11 ActiveJob inline queue adapter for specific jobs »
Is there any way to set ActiveJob queue adapter to inline for specific background jobs? In my case I'd like to run some background jobs in tests to ...
(0) odpowiedzi
2016-11-11 19:11 Rails ActiveJob: write values to cookies in a perfrom_later sidekiq job »
So I have a job inside a controller method, which I want to write different values to cookies. class AController < ApplicationController def cre...
(0) odpowiedzi
2016-11-10 15:11 Rails change logger level for a specific job »
I need to debug a job on my production data. I have enhanced my ActiveJobs to support a dry_run mode, and I'd like to temporarily change the logger le...
(0) odpowiedzi
2016-11-10 01:11 Cucumber - perform ActiveJob `perform_later` jobs immediately »
I have many jobs that are calling other nested jobs using perform_later. However, during some tests on Cucumber, I'd like to execute those jobs immedi...
(0) odpowiedzi
2016-11-07 15:11 Rails ActiveJob Dry Runs »
I need to enable some "dry-run" option for some of my ActiveJobs. For my specific case, I need to run "chase" jobs for users that have not replied to...
(0) odpowiedzi
2016-11-04 21:11 access current_page? in ApplicationJob »
Do I have access to current_page? method in ApplicationJob? I tried to use it and the job didn't work anymore. def perform(message) if current_...
(1) odpowiedzi
2016-10-21 18:10 Rails 4.2 Asynchronous Emails With Attachments From Multipart Form »
I'm implementing an idea-submission feature on our web app. Users fill-in a multipart form which includes a file_field used to send a picture. Upon ...
(0) odpowiedzi
2016-10-20 12:10 Start job from another job »
Here is what I'm trying to achieve: As a user, I can book a spot for a class. If the class is already full, I'll be on the waiting list. When a new sp...
(1) odpowiedzi
2016-10-18 13:10 Sidekiq logs show JobWrapper instead of Job class name »
I have a Rails application that runs some background jobs via ActiveJob and Sidekiq. The sidekiq logs in both the terminal and the log file show the f...
(2) odpowiedzi