Rails, background threads, ActiveRecord

there's already a plugin that tackles this problem.

check out backgroundrb (http://backgroundrb.rubyforge.org/) for more info

Mike

use ActiveRecord::Base.allow_concurrency = true and you'll be cool.

I'd suggest to call
ActiveRecord::Base.verify_active_connections! from time to time or you
will end up starving on database threads.

[]s