README.markdown in mongo-resque-1.17.1 vs README.markdown in mongo-resque-1.18.2

- old
+ new

@@ -27,22 +27,33 @@ the change was for the better or not (we avoid dependency troubles this way). Delayed Jobs ------------ -If your job class indicates that @delayed_jobs = true, you can queue +If your job class indicates that @delayed = true, you can queue delayed jobs. These jobs will not be popped off the queue until the Time indicated in arg[0][:delay_until] has come. Note that you must call Resque.enable_delay(:queue) before enququing any delayed jobs, to ensure that the performance impact on other queues is minimal. +Bundling +======== + +Make sure you use the right require in your Gemfile. + +``` ruby +gem 'mongo-resque', :require => 'resque' +``` + Configuration ============= Resque.redis= has been replaced with Resque.mongo= and expects a Mongo::DB object as an argument. - Resque.mongo = Mongo::Connection.new.db("my_awesome_queue") +``` ruby +Resque.mongo = Mongo::Connection.new.db("my_awesome_queue") +``` Stern Warnings ============== Sometimes, Mongo-Resque will drop a queue collection, or create some