If you want to send mail asynchronously in your rails app, but don’t want to bother with using a queue server like Starling, then have a go at this…
First, run this:
./script/plugin install git://github.com/purzelrakete/workling.git
./script/plugin install git://github.com/langalex/workling_mailer.git
./script/plugin install git://github.com/matthewrudy/rudeq.git
rake queue:setup
rake db:migratenow add this to your environment:
Workling::Clients::MemcacheQueueClient.memcache_client_class = RudeQ::Client
Workling::Remote.dispatcher = Workling::Remote::Runners::ClientRunner.newFinally, add this into the body of your mailer classes:
include AsynchMailnow start the workling client:
./script/workling_client startdone!



