Permalink
Browse files

updated readme

  • Loading branch information...
1 parent 5ed091d commit 4f86a1ac034313136d42132d3c4b6f7027d152c2 @rkononov rkononov committed Sep 10, 2012
Showing with 6 additions and 3 deletions.
  1. +6 −3 README.md
View
@@ -10,9 +10,12 @@ This example show how to work with iron_worker under Rails environment
3. Go to http://localhost:3000 and test
-## FAQ Rail+IronWorker
-1. Q:Where to place workers? <br/>
+## FAQ Rails+IronWorker
+1. Q:Where to place workers?
A:Better to place workers in rails_root/workers dir like in example [worker dir](https://github.com/iron-io/iron_worker_rails_example/tree/master/workers)
+ <br/>
2. Q:How to use ActionMailer in worker? <br/>
- A: *
+ A: * merge mailer and template in [.worker file](https://github.com/iron-io/iron_worker_rails_example/blob/master/workers/simple_mailer_worker.worker)
+ * configure mailer in worker - [init_mailer](https://github.com/iron-io/iron_worker_rails_example/blob/master/workers/simple_mailer_worker.rb#L7)
+ * [send email](https://github.com/iron-io/iron_worker_rails_example/blob/master/workers/simple_mailer_worker.rb#L29)

0 comments on commit 4f86a1a

Please sign in to comment.