README.markdown in simple_worker-0.3.21 vs README.markdown in simple_worker-0.3.22
- old
+ new
@@ -163,13 +163,13 @@
Rails 3.X:
gem 'simple_worker'
Now you can use your workers like they're part of your app! We recommend putting your worker classes in
-/app/workers path.
+/app/workers path.
-Configuring an Database Connection
+Configuring a Database Connection
---------------------------------
Although you could easily do this in your worker, this makes it a bit more convenient and more importantly
it will create the connection for you. If you are using Rails 3, you just need to add one line:
@@ -208,14 +208,16 @@
The opposite can be done as well with "unmerge" and can be useful when using Rails to exclude classes that are automatically
merged.
-Bringing in other Workers
+Merging other Workers
---------------------
-merge_worker
-TODO
+Merging other workers is a bit different than merging other code like above because they will be
+uploaded separately and treated as distinctly separate workers.
+
+ merge_worker "./other_worker.rb", "OtherWorker"
Configuration Options
---------------------