Skip to content

Commit

Permalink
Updated readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Reeder committed Aug 11, 2011
1 parent d31f4dc commit a6aefc1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.markdown
Expand Up @@ -214,7 +214,8 @@ Then before you job is run, SimpleWorker will establish the ActiveRecord connect
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

Expand Down Expand Up @@ -272,6 +273,15 @@ This allows you to use any gem you'd like with SimpleWorker. This uses the same

[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
---------------------
Expand Down

0 comments on commit a6aefc1

Please sign in to comment.