| 2008-06-10 02:59:19 | Ответить |
|---|---|
|
Ruslan Voloshin Адрес: odessa Сообщений: 986 Регистр: 2007-03-13 его блог 28 сообщ. |
ActionMailer rails 2.0 |
|
Add assert_emails and assert_no_emails to test the number of emails delivered. # Assert total number of emails delivered: Allow mailer actions named send by using __send__ internally Make sure parsed emails recognized attachments nested inside multipart parts Add UrlWriter to allow writing urls from Mailers and scripts (if ActionController is present) Add deprecation for old subtemplate syntax for ActionMailer templates, use render :partial Register alternative template engines using ActionMailer::Base.register_template_extension('haml') Update TMail to v1.1.0 Allow ActionMailer subclasses to individually set their delivery method (so two subclasses can have different delivery methods) Update ActionMailer so it treats ActionView the same way that ActionController does. * Pass the template_root as an array as ActionView's view_path * Request templates with the "#{mailer_name}/#{action}" as opposed to just "#{action}" |
|
| ActionMailer rails 2.0, rails 2.0 |