aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib
Commit message (Collapse)AuthorAgeFilesLines
* Provide a cleaner syntax for paths configuration that does not rely on ↵José Valim2010-10-061-3/+3
| | | | method_missing.
* mailer comment should use namespace in commentAditya Sanghi2010-10-061-1/+1
|
* PERF: Don't create unnecessary objectsSantiago Pastorino2010-10-031-1/+1
|
* PERF: change inject({}) with Hash + mapSantiago Pastorino2010-10-031-1/+1
|
* self is implied, so remove selfAaron Patterson2010-09-291-1/+1
|
* dry up method missingAaron Patterson2010-09-291-5/+2
|
* Call it compile_methods! and do the same on AM.José Valim2010-09-271-0/+10
|
* Add namespacing to mailer generatorPiotr Sarnacki2010-09-251-0/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Do not require passing :app to mounted helpers, it's actually useless and ↵Piotr Sarnacki2010-09-081-1/+1
| | | | not DRY
* Set only helpers_path on inherited hook in action_controller/railtie.rb and ↵Piotr Sarnacki2010-09-032-29/+6
| | | | use helper(:all) just after that
* Moved ActionMailer and ActionController railties options to inherited hookPiotr Sarnacki2010-09-032-6/+29
| | | | | | | | | | | This change is needed, because we must take namespace into account and if controller's/mailer's class is namespaced, engine's paths should be set instead of application's ones. The nice side effect of this is removing unneeded logic in ActionController::Base.inherited - now the helpers_path should be set correctly even for engine's controllers, so helper(:all) will always include correct helpers.
* We don't need to clear action_methods on inherited hook as they are cleaned ↵Piotr Sarnacki2010-09-031-5/+0
| | | | on method_added hook
* ActionMailer should not depend on ActionDispatchPiotr Sarnacki2010-09-033-3/+2
|
* Refactor ActionMailer to not use hide_actionsPiotr Sarnacki2010-09-033-54/+4
|
* Move ActionController::Railties::RoutesHelpers and ↵Piotr Sarnacki2010-09-032-20/+2
| | | | ActionMailer::Railties::RoutesHelper to AbstractController::Railties::RoutesHelpers
* Include routes helpers only for inherited classes in ActionMailerPiotr Sarnacki2010-09-034-27/+66
|
* Include application's helpers and router helpers by default, but include ↵Piotr Sarnacki2010-09-032-0/+14
| | | | engine's ones for controllers inside isolated namespace
* mounted helpers should be included in ActionMailerPiotr Sarnacki2010-09-031-1/+2
|
* Deprecate the old mailer API that was not deprecated yet.José Valim2010-08-293-36/+40
|
* Remove the deprecated API from ActionMailer.José Valim2010-08-293-143/+0
|
* Master is now targeting 3.1.0.betaDavid Heinemeier Hansson2010-08-231-2/+2
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-145-34/+34
| | | | 's/[ \t]*$//' -i {} \;)
* adds missing requires for Object#tryXavier Noria2010-08-091-0/+2
|
* Merge remote branch 'rails/master'Xavier Noria2010-07-302-3/+3
|\
| * edit pass to apply API guideline wrt the use of "# =>" in example codeXavier Noria2010-07-301-2/+2
| |
| * Prep for RCDavid Heinemeier Hansson2010-07-261-1/+1
| |
* | itsy bitsy changes to ActionMailer documentationNeeraj Singh2010-07-281-14/+11
|/
* Removes unused varsSantiago Pastorino2010-07-241-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Clean up AM and AC railties.José Valim2010-07-241-11/+6
|
* 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