diff options
author | Andy Leeper <leepfrog@mochaleaf.com> | 2011-09-01 10:42:28 -0700 |
---|---|---|
committer | Andy Leeper <leepfrog@mochaleaf.com> | 2011-09-01 10:42:28 -0700 |
commit | 8e900f1e38166ea906967eb8ede9bd14e78eb417 (patch) | |
tree | 175ab70850f67607dc5dc43a6896b8ae3de14f35 | |
parent | bc83e48ddffc276826327eb1e5c80eb2f37d33ba (diff) | |
download | rails-8e900f1e38166ea906967eb8ede9bd14e78eb417.tar.gz rails-8e900f1e38166ea906967eb8ede9bd14e78eb417.tar.bz2 rails-8e900f1e38166ea906967eb8ede9bd14e78eb417.zip |
Modified ActionMailer Basics doc with the following change:
* Changed the lines that said <tt>config/environments/env.rb</tt> to <tt>config/environments/$RAILS_ENV.rb</tt>. People were mis-interpreting the filename to literally be env.rb.
-rw-r--r-- | railties/guides/source/action_mailer_basics.textile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/railties/guides/source/action_mailer_basics.textile b/railties/guides/source/action_mailer_basics.textile index 142b9dba7e..351a4498b1 100644 --- a/railties/guides/source/action_mailer_basics.textile +++ b/railties/guides/source/action_mailer_basics.textile @@ -467,7 +467,7 @@ The following configuration options are best made in one of the environment file h4. Example Action Mailer Configuration -An example would be adding the following to your appropriate <tt>config/environments/env.rb</tt> file: +An example would be adding the following to your appropriate <tt>config/environments/$RAILS_ENV.rb</tt> file: <ruby> config.action_mailer.delivery_method = :sendmail @@ -482,7 +482,7 @@ config.action_mailer.raise_delivery_errors = true h4. Action Mailer Configuration for GMail -As Action Mailer now uses the Mail gem, this becomes as simple as adding to your <tt>config/environments/env.rb</tt> file: +As Action Mailer now uses the Mail gem, this becomes as simple as adding to your <tt>config/environments/$RAILS_ENV.rb</tt> file: <ruby> config.action_mailer.delivery_method = :smtp @@ -524,4 +524,5 @@ In the test we send the email and store the returned object in the +email+ varia h3. Changelog +* September 1, 2011: Changed the lines that said <tt>config/environments/env.rb</tt> to <tt>config/environments/$RAILS_ENV.rb</tt>. People were mis-interpreting the filename to literally be env.rb. "Andy Leeper":http://mochaleaf.com * September 30, 2010: Fixed typos and reformatted Action Mailer configuration table for better understanding. "Jaime Iniesta":http://jaimeiniesta.com |