- 24 2月, 2017 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 22 2月, 2017 1 次提交
-
-
由 Jon Moss 提交于
[ci skip]
-
- 04 2月, 2017 1 次提交
-
-
由 yuuji.yaginuma 提交于
-
- 28 1月, 2017 1 次提交
-
-
由 David Heinemeier Hansson 提交于
Offer the option to use parameterization for shared processing of headers and ivars
-
- 01 12月, 2016 1 次提交
-
-
由 MQuy 提交于
-
- 16 5月, 2016 1 次提交
-
-
由 Jeremy Daer 提交于
Follows the same pattern as controllers and jobs. Exceptions raised in delivery jobs (enqueued by `#deliver_later`) are also delegated to the mailer's rescue_from handlers, so you can handle the DeserializationError raised by delivery jobs: ```ruby class MyMailer < ApplicationMailer rescue_from ActiveJob::DeserializationError do … end ``` ActiveSupport::Rescuable polish: * Add the `rescue_with_handler` class method so exceptions may be handled at the class level without requiring an instance. * Rationalize `exception.cause` handling. If no handler matches the exception, fall back to the handler that matches its cause. * Handle exceptions raised elsewhere. Pass `object: …` to execute the `rescue_from` handler (e.g. a method call or a block to instance_exec) against a different object. Defaults to `self`.
-
- 10 5月, 2016 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 07 5月, 2016 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 28 4月, 2016 1 次提交
-
-
由 eileencodes 提交于
-
- 11 4月, 2016 1 次提交
-
-
由 Vipul A M 提交于
- Fixed statement about setting `config.action_mailer.default_url_options = {protocol: 'https'}` . We are just setting the protocol key to 'https', not replacing/initializing the complete config. - Fixed grammar in assert_emails changlog - Added sentence separator for code ":" [ci skip]
-
- 08 4月, 2016 1 次提交
-
-
由 Jeremy Daer 提交于
They would be lost when the delivery job is enqueued, otherwise. Prevents a common, hard-to-find bug like: ```ruby message = Notifier.welcome(user, foo) message.message_id = my_generated_message_id message.deliver_later ``` The message_id is silently lost here! *Only the mailer arguments are passed to the delivery job.* This raises an exception now. Make modifications to the message within the mailer method or use a custom Active Job to manage delivery instead of using #deliver_later.
-
- 06 4月, 2016 1 次提交
-
-
由 arktisklada 提交于
Removes `-t`
-
- 30 3月, 2016 1 次提交
-
-
由 Prathamesh Sonpatki 提交于
-
- 25 2月, 2016 1 次提交
-
-
由 eileencodes 提交于
Adds changelog headers for beta3 release
-
- 24 2月, 2016 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 16 2月, 2016 1 次提交
-
-
由 Yves Senn 提交于
Whenever you are sending emails in integration tests using the `:test` delivery method you need to make sure that `ActionMailer::Base.deliveries` is reset after every test. This piece of boilerplate code is present in all my applications that send emails. Let's have `ActionDispatch::IntegrationTest` reset the deliveries automatically.
-
- 02 2月, 2016 1 次提交
-
-
由 Sean Griffin 提交于
-
- 22 12月, 2015 1 次提交
-
-
由 Yves Senn 提交于
[ci skip]
-
- 21 12月, 2015 1 次提交
-
-
由 Genadi Samokovarov 提交于
During the `5.0.0.beta1` release, the CHANGELOGs got an entry like the following: ``` * No changes. ``` It is kinda confusing as there are indeed changes after it. Not a biggie, just a small pass over the CHANGELOGs. [ci skip]
-
- 19 12月, 2015 1 次提交
-
-
由 eileencodes 提交于
-
- 24 11月, 2015 1 次提交
-
-
由 Sean Griffin 提交于
This reverts commit 65a61ab7, reversing changes made to 14314ca1. This PR broke the build
-
- 14 8月, 2015 1 次提交
-
-
由 Andrew Kampjes 提交于
`config.force_ssl = true` will set config.action_mailer.default_url_options = { protocol: 'https' } If you have turned on force_ssl, and then gone to the effort of setting config.action_mailer.default_url_options = {host: 'example.com'} then you are probably pointing people back to your current app and want https on that too.
-
- 08 7月, 2015 1 次提交
-
-
由 Kasper Timm Hansen 提交于
This reverts commit f2a8c236, reversing changes made to 3046c9bb.
-
- 06 7月, 2015 1 次提交
-
-
由 Johannes Opper 提交于
When #deliver_now is called all translations within the generated email will be looked up for the current I18n locale. I18n.locale = ‘de’ mail.deliver_now # Generates german email, correct In #enqueue_delivery the locale was not considered and the resulting job uses the default locale. I18n.locale = ‘de’ mail.deliver_later # Generate english email, incorrect In order to achieve a consistent behaviour the current locale is now always passed to `ActionMailer::DeliveryJob`.
-
- 04 6月, 2015 1 次提交
-
-
由 Rafael Mendonça França 提交于
Also add a CHANGELOG entry for #18587 [ci skip]
-
- 09 5月, 2015 1 次提交
-
-
由 yuuji.yaginuma 提交于
-
- 04 5月, 2015 1 次提交
-
-
由 Andrew White 提交于
Use a preview interceptor to search for inline cid: urls in src attributes and convert them to data urls.
-
- 30 4月, 2015 1 次提交
-
-
由 Remo Mueller 提交于
Mailer preview now uses `url_for` to fix links to emails for apps running on a subdirectory, closes #19092.
-
- 28 4月, 2015 2 次提交
- 31 1月, 2015 2 次提交
-
-
由 Claudio Ortolina 提交于
One or multiple mail interceptors can be unregistered using `ActionMailer::Base.unregister_interceptors` or `ActionMailer::Base.unregister_interceptor`. For preview interceptors, it's possible to use `ActionMailer::Base.unregister_preview_interceptors` or `ActionMailer::Base.unregister_preview_interceptor`. Refactors logic to constantize a string/symbol into separate method.
-
由 Yves Senn 提交于
-
- 08 1月, 2015 1 次提交
-
-
由 George Claghorn 提交于
-
- 07 1月, 2015 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 06 1月, 2015 1 次提交
-
-
由 Carlos Souza 提交于
Following the same naming convention used in controllers and jobs.
-
- 04 1月, 2015 2 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 01 1月, 2015 1 次提交
-
-
由 Robin Dupret 提交于
-
- 30 12月, 2014 1 次提交
-
-
由 Rafael Mendonça França 提交于
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.
-
- 29 11月, 2014 1 次提交
-
-
由 Rafael Mendonça França 提交于
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.
-