This plugin provides a 'Spawn' class to easily fork OR thread long-running sections of code so that your application can return results to your users more quickly. This plugin works by creating new database connections in ActiveRecord::Base for the spawned block. The plugin also patches ActiveRecord::Base to handle some known bugs when using threads (see lib/patches.rb).
Required Ruby Version
None
Required Rubygems Version
>= 1.3.6
Authors
Tom Anderson
Versions
- 2.0 April 03, 2013 (12.5 KB)