Skip to content

Instantly share code, notes, and snippets.

@brandon-beacher
Created July 2, 2009 20:39
Show Gist options
  • Select an option

  • Save brandon-beacher/139707 to your computer and use it in GitHub Desktop.

Select an option

Save brandon-beacher/139707 to your computer and use it in GitHub Desktop.
@worker = MiddleMan.worker("people_export_worker", UUIDTools::UUID.random_create.to_s)
@worker.async_export(:data => { :customer_id => current_customer.id, :params => params })
redirect_to management_people_path(:context => "export_status", :worker_key => @worker.worker_key) and return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment