diff options
author | RomD <romd86@gmail.com> | 2010-02-06 17:18:10 +0100 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-02-06 09:51:53 -0800 |
commit | f44a0b1d524064a2e919cd10d3013db680af9b17 (patch) | |
tree | 43011f4c151d45dbecdf0eeb78806e9ac3e8f391 /actionmailer | |
parent | 6958eac1a00a4ab33e3facc70c80a07492288196 (diff) | |
download | rails-f44a0b1d524064a2e919cd10d3013db680af9b17.tar.gz rails-f44a0b1d524064a2e919cd10d3013db680af9b17.tar.bz2 rails-f44a0b1d524064a2e919cd10d3013db680af9b17.zip |
fix usage examples and more to use new invocations
Signed-off-by: Carl Lerche <carllerche@mac.com>
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 |