{"comment":{"created_at":"2011-10-21T15:04:17Z","body":"I can't update the commits in a pull request. Closing it and creating a new one.","updated_at":"2011-10-21T15:04:17Z","url":"https://api.github.com/repos/justinweiss/resque_unit/issues/comments/2482315","id":2482315,"user":{"gravatar_id":"50b67075e1c0b5c987df1e053a618cf7","avatar_url":"https://secure.gravatar.com/avatar/50b67075e1c0b5c987df1e053a618cf7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/nfo","id":20200,"login":"nfo"}},"action":"created","issue":{"number":23,"created_at":"2011-10-04T10:39:51Z","pull_request":{"diff_url":"https://github.com/justinweiss/resque_unit/pull/23.diff","patch_url":"https://github.com/justinweiss/resque_unit/pull/23.patch","html_url":"https://github.com/justinweiss/resque_unit/pull/23"},"body":"`Resque::Scheduler.enqueue_with_timestamp` must give the name of the worker class, not the class itself, like in `Resque.enqueue_to`. I don't know why there is no problem in tests, but when I try to use enqueue_in or enqueue_at in my project, this object\r\n\r\n```ruby\r\n{\"class\"=>MyWorker, \"args\"=>[{\"_id\"=>\"u123\", \"email\"=>\"lol@cats.com\"}], \"timestamp\"=>2011-10-04 12:35:01 +0200}\r\n```\r\n\r\nis encoded into:\r\n\r\n```json\r\n{\"class\":{\"inheritable_attributes\":{},\"queue\":\"my_queue\",\"args\":[{\"_id\":\"u123\",\"email\":\"lol@cats.com\"}],\"timestamp\":\"2011-10-04T12:35:01+02:00\"}\r\n```\r\n\r\ninstead of:\r\n\r\n```json\r\n{\"class\":\"MyWorker\",\"args\":[{\"_id\":\"u123\",\"email\":\"lol@cats.com\"}],\"timestamp\":\"2011-10-04T12:37:42+02:00\"}\r\n```","comments":3,"title":"Fixed `Resque::Scheduler.enqueue_with_timestamp`","updated_at":"2011-10-21T15:04:17Z","url":"https://api.github.com/repos/justinweiss/resque_unit/issues/23","id":1812211,"assignee":null,"milestone":null,"closed_at":"2011-10-21T15:04:17Z","user":{"gravatar_id":"50b67075e1c0b5c987df1e053a618cf7","avatar_url":"https://secure.gravatar.com/avatar/50b67075e1c0b5c987df1e053a618cf7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/nfo","id":20200,"login":"nfo"},"html_url":"https://github.com/justinweiss/resque_unit/issues/23","labels":[],"state":"closed"},"legacy":{"issue_id":1812211,"comment_id":2482315}}