aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/erb/mailer
Commit message (Collapse)AuthorAgeFilesLines
* Use .tt extension to all the template filesRafael Mendonça França2017-11-132-0/+0
| | | | | | | | Make clear that the files are not to be run for interpreters. Fixes #23847. Fixes #30690. Closes #23878.
* [Railties] require_relative => requireAkira Matsuda2017-10-211-1/+1
| | | | This basically reverts 618268b4b9382f4bcf004a945fe2d85c0bd03e32
* Adding frozen_string_literal pragma to Railties.Pat Allan2017-08-141-0/+2
|
* [Railties] require => require_relativeAkira Matsuda2017-07-011-1/+1
|
* generate mailer layout files only when it does not existyuuji.yaginuma2017-02-021-1/+1
| | | | If already have layout files, in many cases use it.
* `self.` is not needed when calling its own instance methodAkira Matsuda2017-01-051-1/+1
| | | | Actually, private methods cannot be called with `self.`, so it's not just redundant, it's a bad habit in Ruby
* Privatize unneededly protected methods in RailtiesAkira Matsuda2016-12-251-1/+1
|
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-6/+6
|
* applies new string literal convention in railties/libXavier Noria2016-08-061-4/+4
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* generate mailer layout files if it does not already existyuuji.yaginuma2016-05-153-0/+21
| | | | | | | | | Currently, if `ApplicationMailer` does not exist, it is generated when run the mailer generator, but layouts files does not generate. However, because it uses the layouts in `ApplicationMailer`, layouts are required. Follow up to #24161
* Remove redundant regexp escapes in generatorsGadzhi Gadzhiev2016-03-081-1/+1
|
* ApplicationMailer should be generated by default just like every other ↵David Heinemeier Hansson2015-12-173-13/+0
| | | | Application* parent
* follow up to #18074yuuji.yaginuma2015-01-081-1/+5
| | | | | * ignore mailer suffix when generate test files * add mailer suffix to view files
* Don't remove mailer layouts filesyuuji.yaginuma2014-11-271-3/+5
|
* Generate mailer layouts even if no action is given.Guo Xiang Tan2014-11-251-4/+4
|
* MailerGenerator should inherit from Base.Guo Xiang Tan2014-11-251-3/+4
|
* Add tests which were incorrectly removed.Guo Xiang Tan2014-11-251-4/+4
|
* Removing unnecessary File.join callsAndy Jeffries2014-11-241-1/+1
|
* Creates an ApplicationMailer and layout by default, including html and body ↵Andy Jeffries2014-11-213-0/+26
| | | | tags to reduce spam score
* fix path shown in mailer's templatesKassio Borges2014-02-142-2/+2
|
* `html` and `text` templates for mailers by defaultKassio Borges2013-12-202-2/+7
|
* Fixing build failuresVijay Dev2012-10-111-3/+3
| | | | | | | Build failed with an error "invalid multibyte char (US-ASCII)" in these files. Apparently, some UTF-8 char disguised as whitespace causes this. Thanks @rafaelfranca
* nodoc Erb::Generators [ci skip]Francesco Rodriguez2012-10-071-3/+3
|
* Load generators from both lib/rails/generators and lib/generators. Using the ↵José Valim2010-03-232-0/+16
| | | | former since it's less obstrusive.
* Generators load path now will be Ruby load path. If you want to use ↵José Valim2010-01-182-23/+0
| | | | rspec:install generator, you need generators/rspec/install_generator in your load path.
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-242-0/+23