It doesn't accept symbols since that's not legal json.

> On May 20, 2014, at 7:00, David Heinemeier Hansson <notifications@github.com> wrote:
> 
> In lib/active_job/queue_adapters/sidekiq_adapter.rb:
> 
> > @@ -5,7 +5,11 @@ module QueueAdapters
> >      class SidekiqAdapter
> >        class << self
> >          def queue(job, *args)
> > -          JobWrapper.client_push class: JobWrapper, queue: job.queue_name, args: [ job, *args ]
> > +          item = { 'class' => JobWrapper,
> > +                   'queue' => job.queue_name,
> > +                   'args' => [job, *args],
> > +                   'retry' => true }
> > +          Sidekiq::Client.push(item)
> Is it required that the item keys are strings? Seems like they should be symbols. Then:
> 
> Sidekiq::Client.push class: JobWrapper, queue: job.queue_name, args: [ job, *args ], retry: true
> —
> Reply to this email directly or view it on GitHub.