Delayed_job (or DJ) encapsulates the common pattern of asynchronously executing longer tasks in the background. It is a direct extraction from Shopify where the job table is responsible for a multitude of core tasks. This gem isa topprospect fork (http://github.com/topprospect/delayed_job) of the collectiveidea's fork (http://github.com/collectiveidea/delayed_job).
Gemfile gem 'topprospect-delayed_job', '~> 2.0.9'
install gem install topprospect-delayed_job