Skip to content
Browse files

Documentation patch for actionmailer example

  • Loading branch information...
1 parent fcca64c commit c642f2826fbbf7697cf472ea3862627fa65cac45 @sekrett sekrett committed Nov 22, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 README.textile
View
3 README.textile
@@ -41,11 +41,12 @@ Call @.delay.method(params)@ on any object and it will be processed in the backg
<pre>
# without delayed_job
-Notifier.deliver_signup(@user)
+Notifier.signup(@user).deliver
# with delayed_job
Notifier.delay.signup(@user)
</pre>
+Yes, you should remove .deliver method to make it work.
If a method should always be run in the background, you can call @#handle_asynchronously@ after the method declaration:

0 comments on commit c642f28

Please sign in to comment.
Something went wrong with that request. Please try again.