diff options
Diffstat (limited to 'actionmailer')
-rw-r--r-- | actionmailer/README | 2 | ||||
-rw-r--r-- | actionmailer/lib/action_mailer/base.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/README b/actionmailer/README index e0e2ee436a..2a4d507d8a 100644 --- a/actionmailer/README +++ b/actionmailer/README @@ -101,7 +101,7 @@ Example: This Mailman can be the target for Postfix or other MTAs. In Rails, you would use the runner in the trivial case like this: - ./script/runner 'Mailman.receive(STDIN.read)' + rails runner 'Mailman.receive(STDIN.read)' However, invoking Rails in the runner for each mail to be received is very resource intensive. A single instance of Rails should be run within a daemon if it is going to be utilized to process more than just diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index ec85a20f70..4e89c1ea0c 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -9,7 +9,7 @@ module ActionMailer #:nodoc: # # To use Action Mailer, you need to create a mailer model. # - # $ script/generate mailer Notifier + # $ rails generate mailer Notifier # # The generated model inherits from ActionMailer::Base. Emails are defined by creating methods # within the model which are then used to set variables to be used in the mail template, to |