Skip to content

Instantly share code, notes, and snippets.

@ravicious
Created April 26, 2010 20:10
Show Gist options
  • Select an option

  • Save ravicious/379826 to your computer and use it in GitHub Desktop.

Select an option

Save ravicious/379826 to your computer and use it in GitHub Desktop.
When /^last delayed job was finished$/ do
Delayed::Worker.new.send(:reserve_and_run_one_job)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment