delayed_job_web

A resque inspired (read: stolen) interface for delayed_job. This gem is written to work with rails 3 applications using activerecord.

Some features:

Quick Start For Rails 3 Applications

Add the dependency to your Gemfile

gem "delayed_job_mongoid_web"

Install it…

bundle

Add a route to your application for accessing the interface

match "/delayed_job" => DelayedJobMongoidWeb, :anchor => false

You probably want to password protect the interface, an easy way is to add something like this your config.ru file

if Rails.env.production?
  DelayedJobMongoidWeb.use Rack::Auth::Basic do |username, password|
    username == 'username' && password == 'password'
  end
end

The Interface - Yea, a ripoff of resque-web

Author

Erick Schmitt - @ejschmitt