Path: | lib/workers/mail_sender_worker.rb |
Last Update: | Fri Jun 20 18:41:18 +0900 2008 |
Put your code that runs your task inside the do_work method it will be run automatically in a thread. You have access to all of your rails models. You also get logger and results method inside of this class by default.