1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

26 commits

Author SHA1 Message Date
Rafael Mendonça França
39c936b760 Merge pull request #18393 from y-yagi/fix_mailer
follow up to #18074
2015-02-18 19:05:07 -02:00
Carlos Souza
6870d48d19 Add _mailer suffix to i18n path
For mailers created via generators

Follow up to #18074
2015-01-08 22:24:22 -05:00
yuuji.yaginuma
af3eb5961e follow up to #18074
* ignore mailer suffix when generate test files
* add mailer suffix to view files
2015-01-08 22:21:54 +09:00
Carlos Souza
5697bdbb6d Add mailer suffix to generated files and classes
Following the same naming convention used in
controllers and jobs.
2015-01-06 10:46:22 -05:00
yuuji.yaginuma
f9411b464d Don't remove mailer layouts files 2014-11-27 14:36:10 +09:00
Andy Jeffries
a58da25d90 Removing unnecessary File.join calls 2014-11-24 09:37:49 +00:00
Andy Jeffries
38cfaa8285 Creates an ApplicationMailer and layout by default, including html and body tags to reduce spam score 2014-11-21 16:46:49 +00:00
Akira Matsuda
930646b604 Update mailer generator USAGE
* it does not generate fixtures
* it generates .text.erb templates
2013-01-06 15:41:00 +09:00
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
Kirill Nikitin
96f290eac0 Update actionmailer with new hash syntax. 2012-10-07 21:54:14 +04:00
Jurriaan Pruis
2d8396fc9f Updated/changed useless tr/gsubs 2012-04-03 15:16:09 +02:00
Rafael Mendonça França
1ced5ca67b Remove key_value helper now that master is 1.9 only and we always use
the 1.9 hash syntax in the generators.
2012-03-13 23:10:32 -03:00
Kristian Freeman
cffb636e82 Correct grammar on Mailer generator -- passES. Working on enhancing conventional readability in README and USAGE files. 2011-12-22 21:03:25 -08:00
Xavier Noria
20d7d2415f copy-edits 7c2db6c, cbf2af1, and f391f94 2011-06-18 10:22:34 +02:00
JudeArasu
f391f94428 typo changes 2011-06-14 23:16:05 +05:30
Arun Agrawal
e3eaeb490a Example Usage updated for actionpack and actionmailer. 2011-05-19 09:17:49 +05:30
Prem Sichanugrist
f2769ebd7e Update Mailer generator to use 1.9 styled hash when run on Ruby 1.9
As always, you can run `--old-style-hash` to override that.
2011-05-13 18:25:32 -04:00
JudeArasu
ac59a2a1d6 style changes 2011-03-06 12:55:56 +05:30
JudeArasu
2cd3dcabe2 Revert "style changes"
This reverts commit 1d4826937e.
2011-03-06 12:53:23 +05:30
JudeArasu
1d4826937e style changes 2011-03-06 11:38:18 +05:30
JudeArasu
e80db417ed styles applied for usage 2011-03-06 10:53:44 +05:30
Aditya Sanghi
990719bb59 mailer comment should use namespace in comment 2010-10-06 19:45:13 +11:00
Piotr Sarnacki
51c7660e08 Add namespacing to mailer generator
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-09-25 17:28:10 +02:00
José Valim
a12079df9f Tidy up generators based on latest change on AM. 2010-06-13 13:56:08 +02:00
José Valim
cde168edbb Update generators to use thor 0.13.6 with simpler source_root handling. 2010-04-30 12:42:12 +02:00
José Valim
7b98d2aa59 Reorganize the mailer generator a bit. 2010-04-30 12:11:38 +02:00