aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Mention that ActionMailer::Base.default_url_options is now deprecatedJeroen van Dijk2010-07-221-5/+4
|
* Fixed many references to the old config/environment.rb and Rails::InitializerBenjamin Quorning2010-07-131-1/+1
|
* Fixes for "router" and "routes" terminologyWincent Colaiuta2010-07-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit f7ba614c2db improved the internal consistency of the different means of accessing routes, but it introduced some problems at the level of code comments and user-visible strings. This commit applies fixes on three levels: Firstly, we remove or replace grammatically invalid constructs such as "a routes" or "a particular routes". Secondly, we make sure that we always use "the router DSL" or "the router syntax", because this has always been the official terminology. Finally, we make sure that we only use "routes" when referring to the application-specific set of routes that are defined in the "config/routes.rb" file, we use "router" when referring on a more abstract level to "the code in Rails used to handle routing", and we use "routing" when we need an adjective to apply to nouns such as "url_helpers. Again this is consistent with historical practice and other places in the documentation. Note that this is not a sweep over the entire codebase to ensure consistent usage of language; it is just a revision of the changes introduced in commit f7ba614c2db. Signed-off-by: Wincent Colaiuta <win@wincent.com> Signed-off-by: José Valim <jose.valim@gmail.com>
* Unify routes naming by renaming router to routesPiotr Sarnacki2010-07-021-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* docs: note that mail() accepts arbitrary headersWincent Colaiuta2010-06-301-1/+3
| | | | | | | | | The documentation makes it sound like mail() only accepts a limited set of headers in the headers hash, but it in fact accepts any arbitrary headers, and there is a test ("can pass random headers in as a hash to mail") for it in the test suite. Signed-off-by: Wincent Colaiuta <win@wincent.com>
* Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵José Valim2010-06-244-25/+23
| | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved]
* Changes call backs to callbacks.Rizwan Reza2010-06-151-1/+1
|
* Fix a bunch of minor spelling mistakesEvgeniy Dolzhenko2010-06-152-2/+2
|\
| * Fix a bunch of minor spelling mistakesEvgeniy Dolzhenko2010-06-112-5/+5
| |
* | edit pass: the names of Rails components have a space, ie, "Active Record", ↵Xavier Noria2010-06-141-2/+2
| | | | | | | | not "ActiveRecord"
* | docfix (email instead of emai)David Chelimsky2010-06-131-3/+3
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Tidy up generators based on latest change on AM.José Valim2010-06-131-1/+1
| |
* | Move ActionMailer::TC to AV::TC::BehaviorDavid Chelimsky2010-06-122-45/+53
| | | | | | | | | | | | [#4843 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | subject is automatically looked up on I18n using mailer_name and action_name ↵José Valim2010-06-121-1/+1
|/ | | | as scope as in t('.subject')
* Get ready for beta 4David Heinemeier Hansson2010-06-081-1/+1
|
* Updating readme for ActionMailer::BaseMikel Lindsaar2010-06-071-1/+32
|
* Adding inline attachment support to ActionMailerMikel Lindsaar2010-06-072-1/+10
|
* Extract assets paths and make them available to Action Mailer as wellDavid Heinemeier Hansson2010-06-032-0/+10
|
* Unforce text-format from AMSantiago Pastorino2010-06-032-6/+7
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Added missing require, we are using bind method defined on ↵Santiago Pastorino2010-05-161-0/+1
| | | | | | | | active_support/core_ext/proc [#4610 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove the need for a special action_mailer.url_for initializer that loads ↵wycats2010-05-152-66/+86
| | | | before anything else
* Cleaning up Action Mailer spelling with and without the spaceMikel Lindsaar2010-05-042-7/+7
|
* Adding more docs to ActionMailerMikel Lindsaar2010-05-041-12/+50
|
* Change event namespace ordering to most-significant first [#4504 state:resolved]Justin George2010-05-021-2/+2
| | | | | | | | | More work still needs to be done on some of these names (render_template.action_view and render_template!.action_view particularly) but this allows (for example) /^sql/ to subscribe to all the various ORMs without further modification Signed-off-by: José Valim <jose.valim@gmail.com>
* Adding ability for the procs to be called within the instance, allows you to ↵Mikel Lindsaar2010-05-021-1/+1
| | | | | | pass results from instance methods to the mail header Signed-off-by: José Valim <jose.valim@gmail.com>
* Adding ability to pass proc's to the ActionMailer class default methodMikel Lindsaar2010-05-021-1/+6
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Update generators to use thor 0.13.6 with simpler source_root handling.José Valim2010-04-301-4/+2
|
* Reorganize the mailer generator a bit.José Valim2010-04-303-1/+1
|
* Move ActionMailer generator to AMCarlhuda2010-04-293-0/+49
|
* Only run load hooks once a file has been fully loaded.Nathan Weizenbaum2010-04-271-2/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Add missing requireSantiago Pastorino2010-04-161-0/+1
|
* template_name and template_path should not be added to mail headers.José Valim2010-04-131-1/+1
|
* Fix ActionMailer test broken in 99d54599215c2a8cea7e57f609e8e578043d71b2José Valim2010-04-121-0/+5
|
* Move set_fields! to the old API module.José Valim2010-04-122-28/+28
|
* Added explict setting of charset in set_fields! method to make sure Mail has ↵Mikel Lindsaar2010-04-111-0/+1
| | | | the user defined default
* Removing quoting.rb, upgrade to 2.1.3.6, changing all utf-8 references to ↵Mikel Lindsaar2010-04-113-17/+16
| | | | UTF-8, updating tests where incorrect encoding
* Removing quoting and adding Mail 2.3.5Mikel Lindsaar2010-04-112-65/+0
|
* Update versions (otherwise you install a gem from source as beta3 but ↵José Valim2010-04-101-1/+1
| | | | internally it's beta2) and update CHANGELOG.
* Prep for beta2, depend on latest BundlerDavid Heinemeier Hansson2010-04-011-1/+1
|
* Replace the placeholder base_hook API with on_load. To specify some code thatwycats2010-03-292-4/+4
| | | | | | | | 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-282-0/+2
|
* Ensure details are frozen after @details_keys lookup. The implementation ↵José Valim2010-03-272-3/+2
| | | | waits to freeze until the last required moment, to avoid duping hashes.
* Move application configuration to the application configuration object, ↵José Valim2010-03-261-2/+2
| | | | remove railtie_name and engine_name and allow to set the configuration object.
* Improve performance of the rendering stack by freezing formats as a sign ↵José Valim2010-03-193-8/+6
| | | | that they shouldn't be further modified.
* Use Array.wrap not Array()Jeremy Kemper2010-03-172-3/+6
|
* Eliminate warnings for AM on 1.8wycats2010-03-161-3/+0
|
* Allow anything that responds to render to be given as :template and use ↵José Valim2010-03-122-2/+2
| | | | 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-083-4/+9
|\
| * Make many parts of Rails lazy. In order to facilitate this,wycats2010-03-073-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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