Permalink
Browse files

Adds note about running delayed mailer

  • Loading branch information...
1 parent 3ba4f65 commit b0d542a8cc19a34322d6c1c339b81420a1761c62 @beerlington beerlington committed Nov 15, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 README.md
View
3 README.md
@@ -145,6 +145,9 @@ Notifier.signup(@user).deliver
# with delayed_job
Notifier.delay.signup(@user)
+
+# with delayed_job running at a specific time
+Notifier.delay(run_at: 5.minutes.from_now).signup(@user)
```
Remove the `.deliver` method to make it work. It's not ideal, but it's the best

0 comments on commit b0d542a

Please sign in to comment.