Data dodania Pytanie
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
2016-10-14 00:10 List queued tasks with ActiveJob AsyncAdapter »
Is there a way I can see how many (maybe even inspect each job?) jobs are there remaining in the queue? ...
(1) odpowiedzi
2016-10-12 12:10 Dequeue active job with Active job in Rails »
I could enqueue jobs with perform_later but it's not dequeued at all. Also I set WelcomeEmailJob.set(wait: 1.seconds) It's not launched. tail -f log/...
(1) odpowiedzi
2016-10-11 12:10 Rails activejob with Sidekiq is spawning multiple jobs on perform_later »
I have an fairly simple Rails 5 app for monitoring sites speeds. It sends jobs off to an external page speed testing service and periodically checks t...
(1) odpowiedzi
2016-10-03 20:10 How can I test an Active Job method with mocks in RSpec? »
Given this Active Job method that has a lot of overhead in one of the methods it calls. In this case, it's the foo.generate that makes a big CSV file....
(1) odpowiedzi
2016-10-03 15:10 Sidekiq + ActionJob with ActionCable in production mode »
My stack Rails 5, ActionCable, ActiveJob, Sidekiq 2.2 and Redis. In development mode all work correct. In production with Sidekiq and Redis ActiveJob ...
(0) odpowiedzi
2016-10-03 14:10 Rails change ActiveJob adapter for a single job »
I have some scheduled tasks that run jobs with a real queue service. Now, I want to be able to run those tasks manually from a dashboard, wait for it...
(0) odpowiedzi
2016-09-30 05:09 Rails: Setting up Shoryuken, Active Job and Amazon SQS »
As a relative newcomer to AWS, it has been a little bit of curve getting Shoryuken gem (with Active Job and Active Record) to work based on the setup ...
(1) odpowiedzi
2016-09-28 16:09 How can I avoid deadlocks on my database when using ActiveJob in Rails? »
I haven't had a lot of experience with deadlocking issues in the past, but the more I try to work with ActiveJob and concurrently processing those job...
(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-24 16:09 Deliver later not working in the test environment in Rails 5 »
Basically, with the test config set up exactly how it worked in Rails 4 (delivery method set as test etc), aside from deprecated options which I have ...
(0) odpowiedzi
2016-09-15 18:09 Rails ActiveJob with Resque »
I'm trying to set a job to be performed in 1 hour using Resque. Using basically this command from the documentation: CleanupJob.set(wait: 1.week).perf...
(0) odpowiedzi
2016-09-03 01:09 How do I change attributes of a model after a set time »
I have a timer class in my application set to expire 24 hours after creation. Is there a way to run expire_if_running 24 hours after creation date, o...
(2) odpowiedzi
2016-08-30 05:08 Schedule a background job which occurs once in every two weeks »
I have to schedule a background job in my rails app which, runs in a Saturday every two weeks. The needs to be deployed on heroku. So please suggest s...
(1) odpowiedzi
2016-08-20 17:08 Using Sidekiq for Active Job and getting ActiveJob::DeserializationError »
I'm trying to use Sidekiq to run the below job. The job performs fine when not queued (perform_now) but fails when called as (perform_later), which...
(2) odpowiedzi
2016-08-18 18:08 Rails ActiveJob Background Job Keeps Pinging Mailchimp Repeatedly »
I have a rails app (v4.2) I'm developing and when a user registers for the site, I'd like to sign them up to my Mailchimp mailing list. I've implemen...
(1) odpowiedzi
2016-08-16 18:08 Getting ActiveJob and Sidekiq working with ActionCable for Chat Room »
so I have been following the tutorial by DHH on implementing a basic chat room. The implementation works well enough for me, until I try and integrat...
(1) 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-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