Data dodania Pytanie
2016-07-27 19:07 ActiveJob::SerializationError Unsupported argument type: BigDecimal »
/home/vignesh/.rvm/gems/ruby-2.2.2/gems/activejob-4.2.5.1/lib/active_job/arguments.rb:69:in serialize_argument' /home/vignesh/.rvm/gems/ruby-2.2.2/gem...
(0) odpowiedzi
2016-07-23 18:07 Rails and Que jobs »
Before I use sidekiq but now I decided to move to que and store everything in Postgresql. Because I don't need redis high-perfomance features I wanted...
(2) odpowiedzi
2016-07-19 23:07 ActiveJob cannot schedule jobs in the future, although Sidekiq is set as queue adapter »
I have an ActiveJob job which I would like to run sometime in the future. I'm using this template with Sidekiq integrated. Sidekiq web UI is up and ru...
(0) odpowiedzi
2016-07-15 20:07 sucker_punch and ActiveJob Rspec testing perform and perform_in »
I'm having issues with testing a job that I have created. The job looks like this: def SendEmailJob < ActiveJob::Base include SuckerPunch::Job ...
(0) odpowiedzi
2016-07-14 10:07 Stub ActiveJob with Rspec »
I have an active job SubscribeUserToMailingListJob that updates my Mailchimp list everytime a user is created using an after_commit callback. When I...
(1) odpowiedzi
2016-07-11 22:07 Rails Async Active Job doesn't execute code, while inline does »
Does the :async queue adapter actually do anything? :inline, which is what is default in Rails 4, processes jobs built with ActiveJob, uh... inline, ...
(1) odpowiedzi
2016-07-09 02:07 delayed_paperclip not running in the background »
I am using the latest versions of both Paperclip (v5.0.0) and Delayed_Paperclip (v3) on Rails 4.2 Everything is working fine except Delayed_Papercli...
(0) odpowiedzi
2016-07-07 14:07 How to run rails background jobs in a sequential manner? »
I am calling a background job from my controller to fetch around 1000 entries from the database and work on it. However I want to call this job for ev...
(0) odpowiedzi
2016-07-07 05:07 Resque jobs can't connect to outside hosts »
In my Rails app, I've got ActiveJob setup to work with Resque. I've created the this job to send iOS push notifications with the grocer gem: class Se...
(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
2016-07-01 16:07 Custom ActiveJob Class for ActionMailer »
In my rails application I'm using ActionMailer to send emails in the background with the help of ActiveJob. The problem is that sometimes I'm receivin...
(0) odpowiedzi
2016-07-01 16:07 Get current status of a delayed job in Sidekiq (through Active Job?) »
I use rails 4.2.5 and Sidekiq for background processing. There is an API which an application can call. I now have this code: def start_item(name, ...
(1) odpowiedzi
2016-06-23 22:06 How to enqueue a job within a job dynamically in Rails? »
I've a job, and when the job is run, at the very bottom of it, and I want to enqueue the same job again to run after 1 hour, but with different argume...
(2) odpowiedzi
2016-06-23 14:06 Rails Sidekiq Queue size not working »
I have a Rails app with 2 jobs (ImportCsvJob and ProcessCsvJob). So that I can visibly hint in the app that there are still jobs in the queue I have t...
(2) odpowiedzi
2016-06-23 10:06 Active Job connection refused error »
This is the error message I get: Job ActiveJob::QueueAdapters::DelayedJobAdapter::JobWrapper (id=26) FAILED (0 prior attempts) with DRb::DRbConnError...
(0) odpowiedzi
2016-06-20 20:06 How to use ActiveJob (Resque Adapter) with Rails no ActiveRecord (using Mongoid) »
I've been using Mongoid Adapter with Rails for an app. So I basically set the project up to not use ActiveRecord (since I'll also be deploying this to...
(0) odpowiedzi
2016-06-17 03:06 ActiveJob deliver_later not sending »
I have the following method: UserMailer.comment_alert(@comment, user, type).deliver_later Which oddly shows up with the param deliver_now in the ra...
(1) odpowiedzi
2016-06-15 23:06 How to run Que jobs »
I have installed the que gem and I would like to run the tasks I'm scheduling with active job, so far I have added in config/application.rb config.ac...
(0) odpowiedzi
2016-06-15 09:06 Testing job queueing in Rails + Minitest + Sidekiq »
This my test file: require "test_helper" include ActiveJob::TestHelper ActiveJob::Base.queue_adapter = :test describe "A provider requests premium ...
(0) odpowiedzi
2016-06-07 16:06 Spree - How to get the currently logged admin user »
I am working with a Delayed Job that, after its completion, sends an email to the admin user that requested it. So, to do this, I need to know who is ...
(0) odpowiedzi
2016-06-02 20:06 Email not being sent to all users with deliver_later »
I am iterating over an array of subscriber ids to send each subscriber an email, but for some reason not all subscribers are getting the email. Here...
(0) odpowiedzi
2016-06-02 17:06 Bulk insert using ActiveJob and Sidekiq »
I would like to create a bulk insert of jobs, just like that: Sidekiq::Client.push_bulk('class' => MyWorker, 'args' => [...]) but using ActiveJo...
(1) odpowiedzi
2016-06-01 00:06 How to migrate .delay tasks from Sidekiq to Active Job »
Given an existing rails app with background processes managed by Sidekiq. How can I migrate calls such as: Model.delay.some_action() From Sideki...
(2) odpowiedzi
2016-05-23 21:05 Rails Active Job: perform_later not executing in background »
I have a lengthy task that needs to run in the background in my Rails 4.2.6 app. Unfortunately, the job is not being sent to the background using Acti...
(1) odpowiedzi
2016-05-21 12:05 Delaying Mail with ActiveJobs won Rails 4.2 »
Looking at ActiveJob to delay mailer tasks (using delayed_jobs, delayed_jobs_active_record) and I have 2 questions about: ActiveJob's ActionMailer's...
(1) odpowiedzi
2016-05-18 16:05 ActiveJob queue adapter ignored? »
user_controller.rb class UsersController def create MyJob.perform_later User.create(...) end end my_job.rb class MyJob < ActiveJob:...
(0) odpowiedzi
2016-05-17 18:05 rspec rails testing: how can I force ActiveJob job's to run inline for certain tests? »
I would like my background jobs to run inline for certain marked tests. I can do it by wrapping the test with perform_enqueued do but I'd like to jus...
(0) odpowiedzi
2016-05-12 12:05 Use of delay in ActiveJobs »
I'm trying to move my rails app's background processing library from DelayedJob to SideKiq. I went through the documentation for ActiveJobs and for Si...
(0) odpowiedzi
2016-05-12 09:05 ActionMailer not sending emails enqueued in Fake_sqs »
I'm working on a Rails 4 app that sends out emails, say for new registrations and such, and I'm trying to set up SQS to use deliver_later to add them ...
(1) odpowiedzi
2016-04-30 02:04 Is there a way to determine whether an ActiveJob is being performed on a Resque worker or within the application? »
I have an Job in my rails app that extends from ActiveJob::Base, and there are two ways that it is called: ResqueScheduler on a daily basis, where i...
(2) odpowiedzi
2016-04-29 15:04 ActiveJob with Resque plugins »
Is there a way to use Resque plugins, such as resque-loner, with ActiveJob and Resque as backend for it? ...
(0) odpowiedzi
2016-04-26 18:04 Sidekiq won't execute job »
This is my first time using sidekiq to perform scheduled actions within Rails 4. I created a perform method to find hashtaggable_ids that are empty an...
(1) odpowiedzi
2016-04-26 14:04 I get a "Pending Error" whenever I click on Pay using Payola-Payment Gem (A gem made for Stripe) in my Rails 4.2.1 application »
Using Payola-Payments Gem to handle Stripe Payments, it's necessary to set Background Worker for your transaction. After setting up Background Worker ...
(0) odpowiedzi
2016-04-15 01:04 Is there an equivalent of ApplicationController but for Active Job? »
I'm using ActiveJob in my Rails app and trying to add some generic functionality that should be shared by all of my jobs (exception handling to be exa...
(1) odpowiedzi