Commit Graph

38 Commits

Author SHA1 Message Date
Yves Senn
d4ae49b058 get the Action Mailer guide ready. [ci skip] 2013-04-09 20:06:46 +02:00
Yves Senn
b662cb89ce move mailer testing examples into the testing guide.
Closes #9325.

I adjusted the example and the description in the testing guide and
simply linked from the mailer to the testing guide. This way we don't
have to maintain two separate places.
2013-03-25 19:46:44 +01:00
Vijay Dev
be3e402c79 copy edits [ci skip] 2013-03-10 00:06:51 +05:30
Fabrizio Regini
1fe5d36e11 Adding a note for :body option in mail method. 2013-03-08 23:29:58 +01:00
Carlos Antonio da Silva
a87687e5fd Merge pull request #9359 from justinwb/master
Removed template_root as a configuration option
2013-02-27 04:31:06 -08:00
Qihuan Piao
5d631475a1 Update guide doc to use migration shortcuts 2013-02-25 00:38:46 +09:00
Qihuan Piao
a1dd468b1c Wrap around_action word with <code> tag 2013-02-25 00:29:03 +09:00
Justin Bingham
063ba216c0 Removed template_root as a configuration option
Removed template root from actionmailer configuration options as it seems to have been pulled out completely in favor of explicit definition via template_path / template_name.
2013-02-21 10:40:34 -05:00
José Valim
474e7dd82a Merge pull request #9084 from senny/document_am_delivieries_reset
document the behavior of `ActionMailer::Base.delivieries` in tests
2013-01-26 08:14:26 -08:00
Yves Senn
18dceeb425 document the behavior of ActionMailer::Base.delivieries in tests
thanks @danielpuglisi
2013-01-26 17:05:58 +01:00
Yves Senn
7e6e4f2547 document how to create custom rails environments 2013-01-21 20:38:04 +01:00
Akira Matsuda
9da9763e0a s/it's/its/
[ci skip]
2013-01-18 17:17:59 +09:00
Yves Senn
29a69cde0c spelling correction for AM interceptors 2013-01-17 14:25:56 +01:00
Yves Senn
a7772405dc document Intercepters in ActionMailer guide 2013-01-16 20:51:04 +01:00
Jeremy Kemper
009873aec8 Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. Executable scripts are versioned code like the rest of your app. To generate a stub for a bundled gem: 'bundle binstubs unicorn' and 'git add bin/unicorn' 2013-01-06 21:41:36 -07:00
Jeremy Kemper
f9da785d0b Move background jobs to the 'jobs' branch until fully baked. Not shipping with Rails 4.0. 2012-12-21 16:29:47 -08:00
Andy Lindeman
5c2eb889c2 config.action_mailer.async is no longer used 2012-12-10 13:43:29 -05:00
Vijay Dev
0a33fcd68b Merge branch 'master' of github.com:lifo/docrails 2012-12-08 23:11:37 +05:30
Steve Klabnik
350b122ecc Remove reference to background queue in mailer guide.
Mailers are always async now, and we already discuss
queueing lower down in the guide.
2012-12-07 23:22:51 -08:00
Steve Klabnik
ed78770b1a Remove references to Rails versions.
There's no reason for guides to reference old behaviors. They should
be current as of the versions of Rails that they ship with, and including
older information just clutters thing.

I discussed this change with @fxn and he agrees.
2012-12-07 23:20:35 -08:00
Francesco Rodriguez
f19e41fb16 update guides to use _action callbacks [ci skip] 2012-12-07 23:43:46 -05:00
Katie Oldaker
fc6336d1be Punctuation, capitalization, grammar fixes in rails guides 2012-12-07 16:32:06 -05:00
Aditya Sanghi
193c31c9a6 Add Mailer Callback section to Mailer guides 2012-12-02 00:50:48 +05:30
Steve Klabnik
d16a1b9e8b Normalize on 'After reading this guide, you will know:'
We have three or four different introduction sentences to the guides.
After this commit, we use the same one everywhere.
2012-11-29 14:25:02 -08:00
Steve Klabnik
5ea8a41cdd Remove 'This guide is based on ' warnings.
It's obvious that the guide is based on this version of Rails, and may not be backwards compatible.
2012-11-29 05:21:30 -08:00
Nate Berkopec
9cf33b55f3 Explicit multipart messages respect :parts_order
As issue #7978, the order in which ActionMailer
sends multipart messages could be unintentionally
overwritten if a block is passed to the mail
method. This changes the mail method such that
:parts_order is always respected, regardless of
whether a block is passed to mail.
2012-11-19 11:27:22 -05:00
Malcolm Locke
6eb4271d91 Action mailer can take an array for template_dir 2012-11-09 10:21:03 +13:00
Vijay Dev
f638ef951b Merge branch 'master' of github.com:lifo/docrails
Conflicts:
	activerecord/lib/active_record/persistence.rb
	railties/lib/rails/generators/rails/resource_route/resource_route_generator.rb
2012-10-11 01:05:14 +05:30
Mike Moore
2a68f68aea Update test locations
Change the default test locations to avoid confusion around the common
testing terms "unit" and "functional".
Add new rake tasks for the new locations, while maintaining backwards
compatibility with the old rake tasks.

New testing locations are as follows:

    app/models -> test/models (was test/units)
    app/helpers -> test/helpers (was test/units/helpers)
    app/controllers -> test/controllers (was test/functional)
    app/mailers -> test/mailers (was test/functional)
2012-10-09 17:53:56 -06:00
Adrien Lamothe
151d0b1307 Update guides/source/action_mailer_basics.md 2012-10-06 13:37:16 -07:00
Cory Logan
4fc620cc91 Removed duplicate line describing "default_options".
[ci skip]
2012-09-23 17:08:35 +07:00
José Corcuera
89a011ab8c Update action_mailer_basics.md to ruby 1.9 syntax. [ci skip] 2012-09-21 13:55:42 -05:00
Prem Sichanugrist
721afdcc4b Fix remaining formatting problems in the guide 2012-09-17 15:54:23 -04:00
Prem Sichanugrist
21a0b20e39 change shell to bash 2012-09-17 15:54:22 -04:00
Prem Sichanugrist
c89c163a0e Convert inline code tags to Markdown 2012-09-17 15:54:22 -04:00
Prem Sichanugrist
872b7af337 Convert heading tags and heading section 2012-09-17 15:54:22 -04:00
Prem Sichanugrist
7bc1ca3515 Convert code blocks into GFM style 2012-09-17 15:54:22 -04:00
Prem Sichanugrist
5137d03cc5 Rename the rest of the guides to Markdown 2012-09-17 15:54:22 -04:00