background tasks rails

for a bulk mailing application written in rails a solution for delivering the mails in the background should be found. the solution should just focus on the actual handling of the background tasks, mail creation and storage etc. is not necessary to be included in the solution. being able to start, stop, pause a task via a web interface would be nice too.
1 answer

solutions for background processing

the easiest way imho is ti use the spawn plugin.
download from:

usage is dead simple. just wrap the code to run in the background around 'spawn' like this:

spawn do
# code to run in background

more advanced solutions with full scale scheduling etc... might be using: