README.markdown in simple_worker-1.0.0.beta2 vs README.markdown in simple_worker-1.0.1

- old
+ new

@@ -212,11 +212,12 @@ Then before you job is run, SimpleWorker will establish the ActiveRecord connection. Including/Merging other Ruby Classes ------------------------------------ -If you are using the Rails setup above, you can probably skip this as your models will automatically be merged. +If you need to inclue other classes in for your worker to use (which is very common), then you'll +want to use the merge functions. For example: class AvgWorker < SimpleWorker::Base attr_accessor :aws_access_key, :aws_secret_key, @@ -269,9 +270,18 @@ merge_gem "some_gem_with_version", "1.2.3" # or if gem has poor naming scheme merge_gem 'mongoid_i18n', :require => 'mongoid/i18n' [Check here for more info on merge_gem](http://support.simpleworker.com/kb/working-with-simpleworker/merging-gems-into-your-worker). + +Global Merging +-------------- + +If you want to merge items for all of your workers, you can do merges in your SimpleWorker.configure block: + + config.merge 'my file' + config.merge_gem 'httparty' + Configuration Options ---------------------