aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #18393 from y-yagi/fix_mailerRafael Mendonça França2015-02-181-2/+2
|\ | | | | follow up to #18074
| * follow up to #18074yuuji.yaginuma2015-01-081-2/+2
| | | | | | | | | | * ignore mailer suffix when generate test files * add mailer suffix to view files
* | Added default values for #format_paragraph docs [skip ci]Anton Davydov2015-02-151-0/+2
| |
* | remove noise from AM testsAditya Kapoor2015-02-071-5/+16
| |
* | Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 ↵Vipul A M2015-02-033-3/+0
| | | | | | | | onwards.
* | Use public Module#include, in favor of https://bugs.ruby-lang.org/issues/8846robertomiranda2015-01-311-1/+1
| | | | | | | | ref: https://github.com/rails/rails/pull/18763#issuecomment-72349769
* | unify CHANGELOG format. [ci skip]Yves Senn2015-01-311-0/+2
| |
* | Merge pull request #18521 from andrewvida/masterRafael Mendonça França2015-01-141-1/+1
|\ \ | | | | | | Correct the views that the mail method sends in API docs.
| * | Correct views mail method sends in API docsAndrew Vida2015-01-141-1/+1
| | |
* | | Fix assertion that was never runclaudiob2015-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to run whether the `welcome` method of the ActionMailer::Base subclass raises an error, `message` must be called, otherwise the method is not executed at all. You could just replace with `def welcome; raise StandardError; end` and you would still see a passing test. This commit fixes the test so the assertion is actually executed, just like any other tests in the file, where `.message` is called.
* | | Add _mailer suffix to i18n pathCarlos Souza2015-01-081-1/+1
| | | | | | | | | | | | | | | | | | For mailers created via generators Follow up to #18074
* | | Add assert_enqueued_emails and assert_no_enqueued_emailsGeorge Claghorn2015-01-083-0/+115
| |/ |/|
* | Move changelog entry to the top [ci skip]Carlos Antonio da Silva2015-01-071-7/+5
| |
* | Add mailer suffix to generated files and classesCarlos Souza2015-01-064-4/+17
| | | | | | | | | | Following the same naming convention used in controllers and jobs.
* | Remove unneeded requiresRafael Mendonça França2015-01-041-1/+0
| | | | | | | | These requires were added only to change deprecation message
* | Remove deprecate `*_path` helpers in email viewsRafael Mendonça França2015-01-041-0/+4
| |
* | Remove deprecated ActionMailer deliver & deliver!claudiob2015-01-043-39/+4
| | | | | | | | | | These methods were deprecated in Rails 4.2 (see f4ee1147) so they can be safely removed in Rails 5.0.
* | Merge pull request #18271 from arunagw/change-copyright-yearRobin Dupret2015-01-012-2/+2
|\ \ | | | | | | Update copyright notices to 2015 [ci skip]
| * | Update copyright notices to 2015 [ci skip]Arun Agrawal2014-12-312-2/+2
| | |
* | | Changelog edits [ci skip]Robin Dupret2014-12-311-14/+14
|/ /
* | Template lookup now respect default locale and I18n fallbacks.Rafael Mendonça França2014-12-295-3/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Given the following templates: mailer/demo.html.erb mailer/demo.en.html.erb mailer/demo.pt.html.erb Before this change for a locale that doesn't have its related file the `mailer/demo.html.erb` will be rendered even if `en` is the default locale. Now `mailer/demo.en.html.erb` has precedence over the file without locale. Also, it is possible to give a fallback. mailer/demo.pt.html.erb mailer/demo.pt-BR.html.erb So if the locale is `pt-PT`, `mailer/demo.pt.html.erb` will be rendered given the right I18n fallback configuration. Fixes #11884.
* | Require Ruby 2.2 for Rails 5.0claudiob2014-12-261-1/+1
| | | | | | | | | | Stems from [this comment](https://github.com/rails/rails/pull/18203#issuecomment-68138096) by @robin850 and by the blog post http://weblog.rubyonrails.org/2014/12/19/Rails-4-2-final
* | Merge pull request #18163 from y-yagi/fix_nodoc_typoYves Senn2014-12-231-2/+2
|\ \ | | | | | | | | | fix typo in nodoc [ci skip]
| * | fix typo in nodocyuuji.yaginuma2014-12-231-1/+1
|/ /
* | Merge pull request #17896 from GBH/globbing_route_mailer_previewRafael Mendonça França2014-12-081-1/+1
|\ \ | | | | | | fixing mailer previews for apps with globbing route
| * | fixing mailer previews for apps with globbing routeOleg2014-12-031-1/+1
| | |
* | | Merge pull request #17797 from y-yagi/donot_delete_mailer_layoutsRafael Mendonça França2014-12-041-1/+3
|\ \ \ | |/ / |/| | Don't remove mailer layouts files
| * | Don't remove mailer layouts filesyuuji.yaginuma2014-11-271-1/+3
| | |
* | | Fix documentation for #defaultSven Pachnit2014-12-011-1/+1
| | | | | | | | | Just a little syntax error I spotted by accident. Cannot pass hash with curly braces without normal parentheses.
* | | [ci skip] fix description of url_foryuuji.yaginuma2014-11-301-5/+0
| | |
* | | Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-2/+2
| | |
* | | Bump required Ruby version to 2.1.0claudiob2014-11-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | [This article](http://weblog.rubyonrails.org/2014/8/20/Rails-4-2-beta1/#maintenance-consequences-and-rails-5-0) states that: > Rails 5.0 is in most likelihood going to target Ruby 2.2. Before the exact minimum version is fully decided, @arthurnn [suggests](https://github.com/rails/rails/pull/17830#issuecomment-64940383) that **at least** version 2.1.0 **must** be required by the `gemspec` files.
* | | Start Rails 5 development :tada:Rafael Mendonça França2014-11-282-66/+4
| | | | | | | | | | | | | | | | | | | | | We will support only Ruby >= 2.1. But right now we don't accept pull requests with syntax changes to drop support to Ruby 1.9.
* | | Follow-up to e2cce6cJon Atack2014-11-271-2/+2
| | | | | | | | | [skip ci]
* | | Fix CHANGELOG typo introduced in e2cce6cd [ci skip]Zachary Scott2014-11-271-1/+1
| | |
* | | Action Mailer change log passJon Atack2014-11-271-22/+21
|/ / | | | | [skip ci]
* | Use released rails-dom-testingRafael Mendonça França2014-11-251-1/+1
| |
* | let the AM test suite pass in 1.9Xavier Noria2014-11-241-2/+2
| |
* | Update docs to reflect changes to MailerGenerator.Guo Xiang Tan2014-11-251-11/+17
| |
* | Add missing CHANGELOG entry.Guo Xiang Tan2014-11-251-0/+7
| |
* | Merge pull request #17646 from andyjeffries/html_layout_fixDavid Heinemeier Hansson2014-11-253-2/+6
|\ \ | | | | | | Creating mailer layouts by default, including html and body tags
| * | 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-2/+6
| | | | | | | | | | | | tags to reduce spam score
* | | let mailer templates generate URLs by default [Xavier Noria, Richard Schneeman]Xavier Noria2014-11-243-0/+68
|/ /
* | Tiny documentation styling fixes [ci skip]Robin Dupret2014-11-021-16/+21
| |
* | - Changed redundant user of `deliver` to `deliver_now`Vipul A M2014-11-011-2/+7
| | | | | | | | | | - Wrapped text in setting defaults section. Also added break, to a sentence. [ci skip]
* | Prepare for 4.2.0.beta4 releaseGodfrey Chan2014-10-301-1/+1
| |
* | edit pass over all warningsXavier Noria2014-10-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch uniformizes warning messages. I used the most common style already present in the code base: * Capitalize the first word. * End the message with a full stop. * "Rails 5" instead of "Rails 5.0". * Backticks for method names and inline code. Also, converted a few long strings into the new heredoc convention.
* | let's warn with heredocsXavier Noria2014-10-281-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | The current style for warning messages without newlines uses concatenation of string literals with manual trailing spaces where needed. Heredocs have better readability, and with `squish` we can still produce a single line. This is a similar use case to the one that motivated defining `strip_heredoc`, heredocs are super clean.
* | Making the actionmailer docs more explicit to understand [ci skip]Rishi Jain2014-10-262-3/+6
| |