Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Modify process_in_background for Sidekiq

  • Loading branch information...
commit 8faca8c28473b21041d2e7637013344f683d245c 1 parent 133ba20
Vincent Tabary authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 lib/backgrounder/orm/base.rb
4 lib/backgrounder/orm/base.rb
@@ -57,9 +57,9 @@ def enqueue_#{column}_background_job
57 57 elsif defined? ::Resque
58 58 ::Resque.enqueue #{worker}, self.class.name, id.to_s, #{column}.mounted_as
59 59 elsif defined? ::Qu
60   - ::Qu.enqueue #{worker}, self.class.name, id, #{column}.mounted_as
  60 + ::Qu.enqueue #{worker}, self.class.name, id.to_s, #{column}.mounted_as
61 61 elsif defined? ::Sidekiq
62   - ::Sidekiq::Client.enqueue #{worker}, self.class.name, id, #{column}.mounted_as
  62 + ::Sidekiq::Client.enqueue #{worker}, self.class.name, id.to_s, #{column}.mounted_as
63 63 end
64 64 end
65 65

0 comments on commit 8faca8c

Please sign in to comment.
Something went wrong with that request. Please try again.