Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use `Mime[:foo]` instead of `Mime::Type[:FOO]` for back compat | Jeremy Daer | 2015-10-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | Rails 4.x and earlier didn't support `Mime::Type[:FOO]`, so libraries that support multiple Rails versions would've had to feature-detect whether to use `Mime::Type[:FOO]` or `Mime::FOO`. `Mime[:foo]` has been around for ages to look up registered MIME types by symbol / extension, though, so libraries and plugins can safely switch to that without breaking backward- or forward-compatibility. Note: `Mime::ALL` isn't a real MIME type and isn't registered for lookup by type or extension, so it's not available as `Mime[:all]`. We use it internally as a wildcard for `respond_to` negotiation. If you use this internal constant, continue to reference it with `Mime::ALL`. Ref. efc6dd550ee49e7e443f9d72785caa0f240def53 | ||||
* | stop using deprecated method in mailers controller | yuuji.yaginuma | 2015-09-23 | 1 | -1/+1 |
| | | | | Accessing mime types via constants is deprecated. | ||||
* | Fix displaying mailer previews on non local requests. | Wojciech Wnętrzak | 2015-09-17 | 1 | -1/+5 |
| | | | | | When config `action_mailer.show_previews` is set, previews are displayed regardless of local request check. | ||||
* | stop using deprecated `render :text` in railties | yuuji.yaginuma | 2015-08-06 | 1 | -1/+1 |
| | |||||
* | Fix mailer previews with attachments | Andrew White | 2015-05-04 | 1 | -6/+8 |
| | | | | | | Use the mail gem's own API to locate the correct part. Fixes #14435. | ||||
* | mailer previews for `NullMail` instances. Closes #19849. | Yves Senn | 2015-04-28 | 1 | -5/+5 |
| | |||||
* | Deprecate all *_filter callbacks in favor of *_action callbacks | Rafael Mendonça França | 2014-05-27 | 1 | -3/+3 |
| | | | | | This is the continuation of the work started at 9d62e04838f01f5589fa50b0baa480d60c815e2c | ||||
* | Add mailer previews feature based on mail_view gem | Andrew White | 2013-12-17 | 1 | -0/+73 |