diff options
author | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2017-01-12 15:01:41 +0300 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-01-24 13:25:43 +0300 |
commit | 5639c62b8935ce4394c9d168985330de1723af21 (patch) | |
tree | e0f6ee154c93b2f8dee6e24aa52c99d4519b62d3 | |
parent | 19b87fb4cc38d80dcd0092344bd81d4e60d61b4f (diff) |
Quote class name in case it gets destroyed
-rw-r--r-- | db/post_migrate/20170104150317_requeue_pending_delete_projects.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/post_migrate/20170104150317_requeue_pending_delete_projects.rb b/db/post_migrate/20170104150317_requeue_pending_delete_projects.rb index f5423912b89..c2265858000 100644 --- a/db/post_migrate/20170104150317_requeue_pending_delete_projects.rb +++ b/db/post_migrate/20170104150317_requeue_pending_delete_projects.rb @@ -19,7 +19,7 @@ class RequeuePendingDeleteProjects < ActiveRecord::Migration args = ids.map { |id| [id['id'], admin.id, {}] } - Sidekiq::Client.push_bulk('class' => ProjectDestroyWorker, 'args' => args) + Sidekiq::Client.push_bulk('class' => "ProjectDestroyWorker", 'args' => args) @offset += 1 end |