aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib/action_mailer/base.rb
Commit message (Collapse)AuthorAgeFilesLines
* Replace the placeholder base_hook API with on_load. To specify some code thatwycats2010-03-291-1/+1
| | | | | | | | should run during framework load do: ActiveSupport.on_load(:action_controller) do # Code run in the context of AC::Base end
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-281-0/+1
|
* Ensure details are frozen after @details_keys lookup. The implementation ↵José Valim2010-03-271-1/+1
| | | | waits to freeze until the last required moment, to avoid duping hashes.
* Improve performance of the rendering stack by freezing formats as a sign ↵José Valim2010-03-191-0/+2
| | | | that they shouldn't be further modified.
* Use Array.wrap not Array()Jeremy Kemper2010-03-171-1/+2
|
* Allow anything that responds to render to be given as :template and use ↵José Valim2010-03-121-1/+1
| | | | find_template instead of find in views.
* Clean up the API required from ActionView::Template.José Valim2010-03-091-1/+1
|
* Merge master.José Valim2010-03-081-0/+2
|\
| * Make many parts of Rails lazy. In order to facilitate this,wycats2010-03-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook
* | Bring AM up to date with new rendering stack.José Valim2010-03-081-7/+5
| |
* | Move layout lookup to views.José Valim2010-03-081-1/+0
| |
* | Added template lookup responsible to hold all information used in template ↵José Valim2010-03-071-1/+0
|/ | | | lookup.
* Renamed LocalizedCache to DetailsCache.José Valim2010-02-241-1/+1
|
* Use render instead render_to_body.José Valim2010-02-241-1/+1
|
* Adding options to register observers and interceptors through ↵Mikel Lindsaar2010-02-221-0/+15
| | | | | | ActionMailer::Base.register_observer and ActionMailer::Base.register_interceptor. These hook into Mail.register_interceptor and Mail.register_observer. Also bumped Mail requirement to 2.1.3 Signed-off-by: José Valim <jose.valim@gmail.com>
* Allow to choose the template path and template name used in implicit ↵José Valim2010-02-191-25/+45
| | | | rendering with ActionMailer.
* fix usage examples and more to use new invocationsRomD2010-02-061-1/+1
| | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Convert to class_attributeJeremy Kemper2010-02-011-5/+5
|
* Updating Action Mailer documentationMikel Lindsaar2010-01-311-44/+54
|
* Fix some backward incompatible behavior on AM.José Valim2010-01-301-0/+1
|
* ActionMailer should depend just on AbstractController.José Valim2010-01-291-6/+0
|
* Rename 'defaults' class method to 'default' to reflect that it's a declarationJeremy Kemper2010-01-271-14/+14
|
* Fixed bug on HTML only emails getting set to text/plainMikel Lindsaar2010-01-281-1/+1
|
* Also include translation in ActionMailer.José Valim2010-01-261-0/+1
|
* Tidy up tests and docs.José Valim and Mikel Lindsaar2010-01-261-2/+2
|
* Fixing up tests and docs to use defaults :from => 'name' instead of ↵Mikel Lindsaar2010-01-271-1/+2
| | | | defaults({:from => 'name'})
* Merge branch 'master' of github.com:mikel/railsMikel Lindsaar2010-01-271-19/+6
|\ | | | | | | | | Conflicts: actionmailer/lib/action_mailer/base.rb
| * Deprecate old defaults API.José Valim and Mikel Lindsaar2010-01-261-25/+6
| |
* | Fixed up documentation to reflect code change and cleaned up tests of ↵Mikel Lindsaar2010-01-271-21/+19
| | | | | | | | spurious #deliver calls
* | Fixed up being able to pass random headers in with headers, or mail. Also, ↵Mikel Lindsaar2010-01-271-11/+20
|/ | | | undeprecated headers(hash) as this works now too
* Make defaults accept a hash.José Valim and Mikel Lindsaar2010-01-261-37/+41
|
* Implementing class level :defaults hash, instead of delivers_from et alMikel Lindsaar2010-01-261-13/+26
|
* Merge branch 'master' of github.com:mikel/railsJosé Valim and Mikel Lindsaar2010-01-261-9/+22
|\
| * Refactor content type setting, added tests to ensure boundary exists on ↵José Valim and Mikel Lindsaar2010-01-261-9/+22
| | | | | | | | multipart and fixed typo
* | Remove old files, add some information to docs and improve test suite.José Valim and Mikel Lindsaar2010-01-261-14/+34
|/
* We don't support enriched yetJosé Valim and Mikel Lindsaar2010-01-261-1/+0
|
* Added initial documentation for the new APIJosé Valim and Mikel Lindsaar2010-01-251-98/+159
|
* Got AM working with Mail yield on delivery_handler and updated testsJosé Valim and Mikel Lindsaar2010-01-251-8/+1
|
* Added delivery_handler method to mail and implemented in ActionMailer to ↵José Valim and Mikel Lindsaar2010-01-251-2/+11
| | | | deliver inside of instrumentation
* Added delivers_from.José Valim and Mikel Lindsaar2010-01-251-2/+12
|
* Ensure implicit multipart templates with locale works as expected.José Valim and Mikel Lindsaar2010-01-241-0/+5
|
* Add tests to mail helper.José Valim and Mikel Lindsaar2010-01-241-1/+0
|
* Move old tests to a specific folder and add some delivery method tests.José Valim and Mikel Lindsaar2010-01-241-9/+1
|
* Handle some TODOs and deprecations.José Valim and Mikel Lindsaar2010-01-241-19/+20
|
* Finish cleaning up delivery methods implementation.José Valim and Mikel Lindsaar2010-01-241-28/+1
|
* Maintain old_api and deprecated_api in different files.José Valim and Mikel Lindsaar2010-01-241-0/+1
|
* Add new class delivery method API.José Valim and Mikel Lindsaar2010-01-241-1/+17
|
* Some refactoring.José Valim and Mikel Lindsaar2010-01-241-71/+93
|
* Adding failing tests for calling just the action, instead of ↵José Valim and Mikel Lindsaar2010-01-241-1/+3
| | | | :create_action_name and :deliver_action_name
* Delegated ActionMailer::Base.deliveries to Mail.deliveries, added callback ↵José Valim and Mikel Lindsaar2010-01-241-38/+18
| | | | support in Mail to call ActionMailer on delivery, moved deliver to deprecated API in preparation for new API