README.markdown in simple_worker-2.0.0.beta.11 vs README.markdown in simple_worker-2.0.0.beta.15
- old
+ new
@@ -78,10 +78,18 @@
worker.body = "This is the body"
worker.queue
This will send it off to the SimpleWorker cloud.
+To queue worker without uploading you could try to do following:
+
+ data[:attr_encoded] = Base64.encode64({'@to'=>'example@email.com'}.to_json)
+ data[:sw_config] = SimpleWorker.config.get_atts_to_send
+ SimpleWorker.service.queue('EmailWorker', data)
+
+
+
Setting Priority
----------------------------------------------
Simply define the priority in your queue command.
@@ -259,12 +267,10 @@
merge_mailer 'mailer_file' #if your mailer's templates are placed in default path
#or
merge_mailer 'mailer_file', {:path_to_templates=>"templates_path"}#if you're using mailer outside of rails with custom templates path
-if you already set auto_merge=true all your mailers already merged.
-
-Configuring a Mailer Connection
+### Configuring a Mailer Connection
If you are using Rails 3,your action_mailer connection would be configured automatically from your config
For non Rails 3 or if you want to use different mailer configs, you should add the following to your SimpleWorker config: