Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | `self.` is not needed when calling its own instance method | Akira Matsuda | 2017-01-05 | 1 | -1/+1 |
| | | | | Actually, private methods cannot be called with `self.`, so it's not just redundant, it's a bad habit in Ruby | ||||
* | Revert "Merge pull request #27550 from ↵ | Rafael Mendonça França | 2017-01-03 | 1 | -1/+1 |
| | | | | | | | | | mtsmfm/fix-generator-command-for-nested-rails-engine" This reverts commit 1e969bfb98b88799e2c759fce25a1d8cf00d7ce7, reversing changes made to a5041f267ded119c2d00b8786c2f2c1e3f93c8a1. Reason: It breaks the public API | ||||
* | Fix generator command for nested (namespaced) rails engine | Fumiaki MATSUSHIMA | 2017-01-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | If we create nested (namespaced) rails engine such like bukkits-admin, `bin/rails g scaffold User name:string age:integer` will create `bukkits-admin/app/controllers/bukkits/users_controller.rb` but it should create `bukkits-admin/app/controllers/bukkits/admin/users_controller.rb`. In #6643, we changed `namespaced_path` as root path because we supposed application_controller is always in root but nested rails engine's application_controller will not. | ||||
* | Privatize unneededly protected methods in Action Mailer | Akira Matsuda | 2016-12-24 | 1 | -3/+2 |
| | |||||
* | revises more Lint/EndAlignment offenses | Xavier Noria | 2016-08-08 | 1 | -3/+3 |
| | |||||
* | normalizes indentation and whitespace across the project | Xavier Noria | 2016-08-06 | 1 | -1/+1 |
| | |||||
* | applies new string literal convention in actionmailer/lib | Xavier Noria | 2016-08-06 | 1 | -3/+3 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | remove blank line generated in application_mailer.rb | yuuji.yaginuma | 2016-04-08 | 1 | -1/+1 |
| | |||||
* | Merge pull request #24164 from prathamesh-sonpatki/fix-application-mailer | Rafael França | 2016-03-23 | 2 | -2/+13 |
|\ | | | | | Correctly generate application_mailer.rb in mountable engines | ||||
| * | Correctly generate application_mailer.rb in mountable engines | Prathamesh Sonpatki | 2016-03-12 | 2 | -2/+13 |
| | | | | | | | | - Followup of https://github.com/rails/rails/pull/24161. | ||||
* | | Fix generator test to match to use the string | Rafael Mendonça França | 2016-03-21 | 1 | -1/+1 |
| | | |||||
* | | switched layout :mailer to a string so that mail layout can be properly ↵ | Matt Hall | 2016-03-17 | 1 | -1/+1 |
|/ | | | | found and mail can be delivered properly | ||||
* | improve some code | Sen-Zhang | 2016-03-11 | 1 | -2/+4 |
| | |||||
* | generate application_mailer.rb if it is missing | Sen-Zhang | 2016-03-11 | 2 | -0/+8 |
| | |||||
* | Remove redundant regexp escapes in generators | Gadzhi Gadzhiev | 2016-03-08 | 1 | -1/+1 |
| | |||||
* | Revert "When generating a mailer, you must specify Mailer in the class name in" | yuuji.yaginuma | 2016-02-06 | 1 | -1/+1 |
| | | | | | | | | This reverts commit 8417d967e016f0219cc4ec30bf0d3908ce6cd29b. In 5697bdbb6da5d08e541a3b12251cec90269b059b and af3eb5961e55a46b011be797e71f615f20f56686, add mailer suffix to generated files and classes. Therefore, no longer need to specify `Mailer` to class name. [ci skip] | ||||
* | When generating a mailer, you must specify Mailer in the class name in | Andrew Kaspick | 2016-02-05 | 1 | -1/+1 |
| | | | | | order to generate the proper files. Some of the docs/comments are missing this important detail. | ||||
* | ApplicationMailer should be generated by default just like every other ↵ | David Heinemeier Hansson | 2015-12-17 | 2 | -7/+0 |
| | | | | Application* parent | ||||
* | Merge pull request #18393 from y-yagi/fix_mailer | Rafael Mendonça França | 2015-02-18 | 1 | -2/+2 |
|\ | | | | | follow up to #18074 | ||||
| * | follow up to #18074 | yuuji.yaginuma | 2015-01-08 | 1 | -2/+2 |
| | | | | | | | | | | * ignore mailer suffix when generate test files * add mailer suffix to view files | ||||
* | | Add _mailer suffix to i18n path | Carlos Souza | 2015-01-08 | 1 | -1/+1 |
|/ | | | | | | For mailers created via generators Follow up to #18074 | ||||
* | Add mailer suffix to generated files and classes | Carlos Souza | 2015-01-06 | 3 | -4/+10 |
| | | | | | Following the same naming convention used in controllers and jobs. | ||||
* | Don't remove mailer layouts files | yuuji.yaginuma | 2014-11-27 | 1 | -1/+3 |
| | |||||
* | Removing unnecessary File.join calls | Andy Jeffries | 2014-11-24 | 1 | -1/+1 |
| | |||||
* | Creates an ApplicationMailer and layout by default, including html and body ↵ | Andy Jeffries | 2014-11-21 | 3 | -2/+6 |
| | | | | tags to reduce spam score | ||||
* | Update mailer generator USAGE | Akira Matsuda | 2013-01-06 | 1 | -3/+2 |
| | | | | | * it does not generate fixtures * it generates .text.erb templates | ||||
* | Update test locations | Mike Moore | 2012-10-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | 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) | ||||
* | Update actionmailer with new hash syntax. | Kirill Nikitin | 2012-10-07 | 1 | -1/+1 |
| | |||||
* | Updated/changed useless tr/gsubs | Jurriaan Pruis | 2012-04-03 | 1 | -1/+1 |
| | |||||
* | Remove key_value helper now that master is 1.9 only and we always use | Rafael Mendonça França | 2012-03-13 | 1 | -2/+2 |
| | | | | the 1.9 hash syntax in the generators. | ||||
* | Correct grammar on Mailer generator -- passES. Working on enhancing ↵ | Kristian Freeman | 2011-12-22 | 1 | -1/+1 |
| | | | | conventional readability in README and USAGE files. | ||||
* | copy-edits 7c2db6c, cbf2af1, and f391f94 | Xavier Noria | 2011-06-18 | 1 | -1/+1 |
| | |||||
* | typo changes | JudeArasu | 2011-06-14 | 1 | -1/+1 |
| | |||||
* | Example Usage updated for actionpack and actionmailer. | Arun Agrawal | 2011-05-19 | 1 | -1/+1 |
| | |||||
* | Update Mailer generator to use 1.9 styled hash when run on Ruby 1.9 | Prem Sichanugrist | 2011-05-13 | 1 | -2/+2 |
| | | | | As always, you can run `--old-style-hash` to override that. | ||||
* | style changes | JudeArasu | 2011-03-06 | 1 | -3/+5 |
| | |||||
* | Revert "style changes" | JudeArasu | 2011-03-06 | 1 | -3/+3 |
| | | | | This reverts commit 1d4826937e438ebcd6a2f9e29d2e466a43fef7a8. | ||||
* | style changes | JudeArasu | 2011-03-06 | 1 | -3/+3 |
| | |||||
* | styles applied for usage | JudeArasu | 2011-03-06 | 1 | -3/+4 |
| | |||||
* | mailer comment should use namespace in comment | Aditya Sanghi | 2010-10-06 | 1 | -1/+1 |
| | |||||
* | Add namespacing to mailer generator | Piotr Sarnacki | 2010-09-25 | 1 | -0/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Tidy up generators based on latest change on AM. | José Valim | 2010-06-13 | 1 | -1/+1 |
| | |||||
* | Update generators to use thor 0.13.6 with simpler source_root handling. | José Valim | 2010-04-30 | 1 | -4/+2 |
| | |||||
* | Reorganize the mailer generator a bit. | José Valim | 2010-04-30 | 3 | -0/+49 |