aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/action_mailer_basics.textile
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-02-19 20:22:20 +0100
committerXavier Noria <fxn@hashref.com>2010-02-19 20:22:20 +0100
commitd2844b854b57e2e3c8693c796e7296e45a866212 (patch)
tree4e6f8497bc406c2981f7990975f1e0344df2be44 /railties/guides/source/action_mailer_basics.textile
parent217ffcb50829cef86623d365bbf06135c52de9e8 (diff)
downloadrails-d2844b854b57e2e3c8693c796e7296e45a866212.tar.gz
rails-d2844b854b57e2e3c8693c796e7296e45a866212.tar.bz2
rails-d2844b854b57e2e3c8693c796e7296e45a866212.zip
AM guide: standarizes call to rails runner
Diffstat (limited to 'railties/guides/source/action_mailer_basics.textile')
-rw-r--r--railties/guides/source/action_mailer_basics.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/action_mailer_basics.textile b/railties/guides/source/action_mailer_basics.textile
index 941c2e9771..d6a5e6aeb8 100644
--- a/railties/guides/source/action_mailer_basics.textile
+++ b/railties/guides/source/action_mailer_basics.textile
@@ -333,7 +333,7 @@ Receiving and parsing emails with Action Mailer can be a rather complex endeavou
* Implement a +receive+ method in your mailer.
-* Configure your email server to forward emails from the address(es) you would like your app to receive to +/path/to/app/script/rails runner 'UserMailer.receive(STDIN.read)'+.
+* Configure your email server to forward emails from the address(es) you would like your app to receive to +rails runner 'UserMailer.receive(STDIN.read)'+.
Once a method called +receive+ is defined in any mailer, Action Mailer will parse the raw incoming email into an email object, decode it, instantiate a new mailer, and pass the email object to the mailer +receive+ instance method. Here's an example: