Skip to content

Instantly share code, notes, and snippets.

@phlegx
Created April 21, 2011 21:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phlegx/935529 to your computer and use it in GitHub Desktop.
Save phlegx/935529 to your computer and use it in GitHub Desktop.
Resque.enqueue(CustomerMailer.customer_disabled(customer, nil, receiver).deliver)
## within the class:
class CustomerMailer < ActionMailer::Base
@queue = :mailer_queue
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment