You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works with any version
of Resque and Resque Scheduler, but requires the Resque Web gem,
rather than the older Resque Web Sinatra interface
that comes bundled with Resque 1.x.
This gem is a port of the old Sinatra code to the new REsque Web plugin architecture and has better test coverage
and a number of bug fixes compared to the older Resque Scheduler Sinatra code
which it is based on. The only reason to use the old Sinatra interface right now is if you have other
Resque plugins that have web interfaces that you need, but which have not been upgraded for the new Resque Web gem yet.
The Sinatra interface will be deprecated when Resque 2 is released, so if you want
to get ahead of the curve, you can start using the latest Resque Web gem today.
Installation
Add this line to your application's Gemfile:
gem 'resque-scheduler-web'
And then execute:
$ bundle
Or install it yourself as:
$ gem install resque-scheduler-web
Usage
The gem will automatically add the correct tabs, provided you have the Resque
Web engine mounted like this in routes.rb:
Create your feature branch (git checkout -b my-new-feature)
Commit your changes (git commit -am 'Add some feature')
Push to the branch (git push origin my-new-feature)
Create a new Pull Request
Acknowledgements
The original code and tests for this gem were taken from the Resque Scheduler gem's
Sinatra interface, and subsequently adapted into a Rails engine. Kudos and
thanks to the originalauthors.
About
Tabs in the Resque Web gem for the Resque Scheduler plugin.