This plugin provides a 'spawn' method 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

  1. 1.0.1 May 01, 2013 (10 KB)

SHA 256 checksum