From 24c0bc52d260db4146525c6720be0f9be2c5fd0f Mon Sep 17 00:00:00 2001 From: Jeroen van Dijk Date: Wed, 21 Jul 2010 17:10:24 +0200 Subject: Mention that ActionMailer::Base.default_url_options is now deprecated --- actionmailer/lib/action_mailer/base.rb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'actionmailer') diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index 7f2ed5ba64..7bbde53306 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -125,14 +125,13 @@ module ActionMailer #:nodoc: # make sense to generate relative URLs in email messages. # # It is also possible to set a default host that will be used in all mailers by setting the :host - # option in the ActionMailer::Base.default_url_options hash as follows: - # - # ActionMailer::Base.default_url_options[:host] = "example.com" - # - # This can also be set as a configuration option in config/application.rb: + # option as a configuration option in config/application.rb: # # config.action_mailer.default_url_options = { :host => "example.com" } # + # Setting ActionMailer::Base.default_url_options directly is now deprecated, use the configuration + # option mentioned above to set the default host. + # # If you do decide to set a default :host for your mailers you will want to use the # :only_path => false option when using url_for. This will ensure that absolute URLs are # generated because the url_for view helper will, by default, generate relative URLs when a -- cgit v1.2.3 From 89b5e79632c4f0b18099faa846e45741b7c5e700 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Sun, 18 Jul 2010 14:58:40 +0200 Subject: revise download/installation/support sections in READMEs - don't reference ancient gem versions - don't link to old API doc subdomains - point to GitHub instead of RubyForge - point to Lighthouse account for support --- actionmailer/README.rdoc | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) (limited to 'actionmailer') diff --git a/actionmailer/README.rdoc b/actionmailer/README.rdoc index 3dd56a6fd8..1b9cb8a570 100644 --- a/actionmailer/README.rdoc +++ b/actionmailer/README.rdoc @@ -121,31 +121,38 @@ The Base class has the full list of configuration options. Here's an example: == Dependencies -Action Mailer requires that the Action Pack is either available to be required immediately -or is accessible as a GEM. +Action Mailer depends on Action Pack. -Additionally, Action Mailer requires the Mail gem, http://github.com/mikel/mail +Additionally, Action Mailer requires the {Mail gem}[http://github.com/mikel/mail]. -== Download +== Bundled software + +* Text::Format 0.63 by Austin Ziegler released under OpenSource + Read more on http://www.halostatue.ca/ruby/Text__Format.html + + +== Download and installation The latest version of Action Mailer can be installed with Rubygems: -* gem install actionmailer + % [sudo] gem install actionmailer + +Source code can be downloaded as part of the Rails project on GitHub -Documentation can be found at +* http://github.com/rails/rails/tree/master/actionmailer/ -* http://api.rubyonrails.org == License Action Mailer is released under the MIT license. + == Support -The Action Mailer homepage is http://www.rubyonrails.org. You can find -the Action Mailer RubyForge page at http://rubyforge.org/projects/actionmailer. -And as Jim from Rake says: +API documentation is at + +* http://api.rubyonrails.com + +Bug reports and feature requests can be filed with the rest for the Ruby on Rails project here: - Feel free to submit commits or feature requests. If you send a patch, - remember to update the corresponding unit tests. If fact, I prefer - new feature to be submitted in the form of new unit tests. +* https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets -- cgit v1.2.3 From 6b11d0bf68ecb1960f6a6dc5b11bb8cc904df5a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Thu, 22 Jul 2010 09:23:22 +0200 Subject: remove unneeded "Dependencies" section from Action Mailer README Other READMEs don't have dependencies indicated, and installing a gem takes care of dependencies automatically. For developers, dependencies are indicated in the Gemfile. --- actionmailer/README.rdoc | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'actionmailer') diff --git a/actionmailer/README.rdoc b/actionmailer/README.rdoc index 1b9cb8a570..64b0333c0a 100644 --- a/actionmailer/README.rdoc +++ b/actionmailer/README.rdoc @@ -119,17 +119,6 @@ The Base class has the full list of configuration options. Here's an example: :authentication => :plain # :plain, :login or :cram_md5 } -== Dependencies - -Action Mailer depends on Action Pack. - -Additionally, Action Mailer requires the {Mail gem}[http://github.com/mikel/mail]. - -== Bundled software - -* Text::Format 0.63 by Austin Ziegler released under OpenSource - Read more on http://www.halostatue.ca/ruby/Text__Format.html - == Download and installation -- cgit v1.2.3