Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adding frozen_string_literal pragma to Railties. | Pat Allan | 2017-08-14 | 1 | -0/+2 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | Should escape meta characters in regexp | Ryuta Kamizono | 2017-05-07 | 1 | -6/+6 |
| | |||||
* | Add three new rubocop rules | Rafael Mendonça França | 2016-08-16 | 1 | -3/+3 |
| | | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository. | ||||
* | applies new string literal convention in railties/test | 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. | ||||
* | generate mailer layout files if it does not already exist | yuuji.yaginuma | 2016-05-15 | 1 | -0/+8 |
| | | | | | | | | | 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 | ||||
* | Fix generator test to match to use the string | Rafael Mendonça França | 2016-03-21 | 1 | -1/+1 |
| | |||||
* | generate application_mailer.rb if it is missing | Sen-Zhang | 2016-03-11 | 1 | -0/+6 |
| | |||||
* | ApplicationMailer should be generated by default just like every other ↵ | David Heinemeier Hansson | 2015-12-17 | 1 | -23/+0 |
| | | | | Application* parent | ||||
* | add mailer suffix to comments for email previews | yuuji.yaginuma | 2015-03-15 | 1 | -5/+5 |
| | |||||
* | Merge pull request #18393 from y-yagi/fix_mailer | Rafael Mendonça França | 2015-02-18 | 1 | -11/+20 |
|\ | | | | | follow up to #18074 | ||||
| * | follow up to #18074 | yuuji.yaginuma | 2015-01-08 | 1 | -11/+20 |
| | | | | | | | | | | * 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 | -3/+3 |
|/ | | | | | | For mailers created via generators Follow up to #18074 | ||||
* | Add mailer suffix to generated files and classes | Carlos Souza | 2015-01-06 | 1 | -23/+30 |
| | | | | | Following the same naming convention used in controllers and jobs. | ||||
* | Don't remove mailer layouts files | yuuji.yaginuma | 2014-11-27 | 1 | -0/+15 |
| | |||||
* | Generate mailer layouts even if no action is given. | Guo Xiang Tan | 2014-11-25 | 1 | -0/+2 |
| | |||||
* | Add tests which were incorrectly removed. | Guo Xiang Tan | 2014-11-25 | 1 | -0/+4 |
| | |||||
* | Creates an ApplicationMailer and layout by default, including html and body ↵ | Andy Jeffries | 2014-11-21 | 1 | -6/+20 |
| | | | | tags to reduce spam score | ||||
* | fix path shown in mailer's templates | Kassio Borges | 2014-02-14 | 1 | -4/+4 |
| | |||||
* | Add comments with urls for email previews | Andrew White | 2013-12-22 | 1 | -6/+11 |
| | |||||
* | `html` and `text` templates for mailers by default | Kassio Borges | 2013-12-20 | 1 | -1/+15 |
| | |||||
* | Add mailer previews feature based on mail_view gem | Andrew White | 2013-12-17 | 1 | -3/+33 |
| | |||||
* | 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) | ||||
* | Get rid of more 1.8.x dead code | José Valim | 2011-12-20 | 1 | -5/+1 |
| | |||||
* | Get rid of --old-style-hash | José Valim | 2011-12-20 | 1 | -21/+2 |
| | |||||
* | be sure to parenthesize the arguments when the first one is a RegExp literal | Akira Matsuda | 2011-05-18 | 1 | -24/+24 |
| | | | | | | this fixes: "warning: ambiguous first argument; put parentheses or even spaces" because: you need this to tell the parser that you're not calling :/ method (division) details (Japanese!): http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-dev/42445?42370-43277 | ||||
* | Update Mailer generator to use 1.9 styled hash when run on Ruby 1.9 | Prem Sichanugrist | 2011-05-13 | 1 | -3/+25 |
| | | | | As always, you can run `--old-style-hash` to override that. | ||||
* | adding test for namedspaced mailers | Aditya Sanghi | 2010-10-06 | 1 | -0/+9 |
| | |||||
* | Tidy up generators based on latest change on AM. | José Valim | 2010-06-13 | 1 | -2/+2 |
| | |||||
* | Reorganize the mailer generator a bit. | José Valim | 2010-04-30 | 1 | -1/+1 |
| | |||||
* | Move ActionMailer generator to AM | Carlhuda | 2010-04-29 | 1 | -1/+2 |
| | |||||
* | Load generators from both lib/rails/generators and lib/generators. Using the ↵ | José Valim | 2010-03-23 | 1 | -1/+1 |
| | | | | former since it's less obstrusive. | ||||
* | Killing fixtures in mailer before they kill me (they usually lead to very ↵ | José Valim | 2010-03-22 | 1 | -3/+5 |
| | | | | brittle tests). | ||||
* | Also revert mailer generator test changes in 8b50f89 | Jeremy Kemper | 2010-03-21 | 1 | -2/+2 |
| | |||||
* | Make ERB generators more flexible and customizable. | José Valim | 2010-03-21 | 1 | -4/+4 |
| | |||||
* | Rename 'defaults' class method to 'default' to reflect that it's a declaration | Jeremy Kemper | 2010-01-27 | 1 | -1/+1 |
| | |||||
* | Attend to brittle mailer generator tests | Jeremy Kemper | 2010-01-27 | 1 | -3/+3 |
| | |||||
* | Update generators to use new defaults. | José Valim and Mikel Lindsaar | 2010-01-26 | 1 | -1/+1 |
| | |||||
* | Updating generators for mailer to reflect changes in API | Mikel Lindsaar | 2010-01-26 | 1 | -3/+3 |
| | |||||
* | More work on generated mailer templates. | José Valim and Mikel Lindsaar | 2010-01-26 | 1 | -6/+5 |
| | |||||
* | Change mailer generator templates and refactor the whole naming schema. | José Valim and Mikel Lindsaar | 2010-01-25 | 1 | -5/+35 |
| | |||||
* | `script/generate mailer Notifier` will now create a mailer at app/mailers. | José Valim | 2010-01-19 | 1 | -4/+4 |
| | |||||
* | Get generators tests running on Ruby 1.9.1 | José Valim | 2010-01-19 | 1 | -1/+2 |
| | |||||
* | Generators load path now will be Ruby load path. If you want to use ↵ | José Valim | 2010-01-18 | 1 | -1/+1 |
| | | | | rspec:install generator, you need generators/rspec/install_generator in your load path. | ||||
* | Move all generators tests to use new test case syntax. | José Valim | 2010-01-03 | 1 | -8/+1 |
| | |||||
* | CI breakage | Yehuda Katz | 2009-11-02 | 1 | -1/+1 |
| | | | | This reverts commit a288b74f1c75c6f100de7611a5093a421f1ad6d1. | ||||
* | Generators should use Rails.root instead of Dir.pwd [#3408 status:resolved] | José Valim | 2009-10-28 | 1 | -1/+1 |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Move railties/lib/* into railties/lib/* | Yehuda Katz + Carl Lerche | 2009-09-24 | 1 | -1/+1 |
| | |||||
* | Updated vendored Thor to 0.11.1 and update Rails::Generators. | José Valim | 2009-07-14 | 1 | -1/+1 |
| |