Permalink
Browse files

Merge pull request #24 from nfo/614c286d

Fixed `Resque::Scheduler.enqueue_with_timestamp`
  • Loading branch information...
2 parents 1449805 + 614c286 commit b38de54099c0c3b22b7c1e88498e994161d46705 @justinweiss justinweiss committed Oct 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/resque_unit/scheduler.rb
@@ -19,7 +19,7 @@ def enqueue_in(number_of_seconds_from_now, klass, *args)
end
def enqueue_with_timestamp(timestamp, klass, *args)
- enqueue_unit(queue_for(klass), {"class" => klass, "args" => args, "timestamp" => timestamp})
+ enqueue_unit(queue_for(klass), {"class" => klass.name, "args" => args, "timestamp" => timestamp})
end
def remove_delayed(klass, *args)

0 comments on commit b38de54

Please sign in to comment.