Create a gist now

Instantly share code, notes, and snippets.

def enqueue(object, method, *args)
meta = { 'class' => object.class.name, 'method' => method, 'id' => object.id }
Resque.enqueue(self, meta, args)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment