aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add ability to define callbacks in ActionMailer using ↵Justin S. Leitgeb2012-03-111-0/+28
| | | | | | | | | | | | | | | | | AbstractController::Callbacks. Prior to this commit, there isn't a good way of adding things like default inline attachments to an email. This Stack Overflow thread shows people using hooks like the 'default' method in ActionMailer::Base to call a Proc for message configuration: http://stackoverflow.com/questions/5113121/rails-use-same-attachment-for-all-emails-using-layout This has the unintended side effect of setting a message header, so it's not a good solution. This pull request adds support for message modifications by including AbstractController:Callbacks in ActionMailer::Base. It includes tests and documentation for the functionality provided by including this module.
* format lookup for partials is derived from the format in which the template ↵Santiago Pastorino2012-02-221-2/+2
| | | | | | is being rendered Closes #5025 part 2
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-02-181-2/+1
|\
| * Fix AM block_format helper method descriptionAlexey Vakhov2012-02-151-2/+1
| |
* | Fix AM format_paragraph helper method if a first word is longAlexey Vakhov2012-02-151-1/+1
| |
* | Cosmetic fixes in block_format AM helper method + testAlexey Vakhov2012-02-151-2/+2
|/
* Merge pull request #4606 from lest/patch-1Aaron Patterson2012-01-241-2/+0
|\ | | | | remove unnecessary AS::Concern usage
| * remove unnecessary AS::Concern usageSergey Nartimov2012-01-221-2/+0
| |
* | Use instance_eval instead of Proc#bindSergey Nartimov2012-01-231-2/+1
|/ | | | Proc#bind is not useful when called immediately and previous check for #call method is not correct
* Merge pull request #4605 from lest/patch-1José Valim2012-01-221-3/+0
|\ | | | | remove obsolete code as old actionmailer api was removed
| * remove obsolete code as old actionmailer api was removedSergey Nartimov2012-01-221-3/+0
| |
* | some modifications in action_mailer/base.rbSachin872012-01-221-2/+3
|/
* get rid of using instance_variable_names method from ASSergey Nartimov2012-01-071-1/+1
| | | | | - instance_variables return symbols in 1.9 - there is instance_variable_defined? method
* test cases should inherit from AS::TestCaseAaron Patterson2012-01-051-0/+1
|
* Array.wrap is no longer needed hereRafael Mendonça França2012-01-052-11/+8
|
* Merge pull request #4248 from andrew/2012Vijay Dev2011-12-311-1/+1
|\ | | | | Updated copyright notices for 2012
| * Updated copyright notices for 2012Andrew Nesbitt2011-12-311-1/+1
| |
* | use Array#uniq in AM instead of deprecated Array#uniq_bySergey Nartimov2011-12-242-2/+1
| |
* | Correct grammar on Mailer generator -- passES. Working on enhancing ↵Kristian Freeman2011-12-221-1/+1
| | | | | | | | conventional readability in README and USAGE files.
* | fix default_i18n_subject comment in ActionMailer::BaseIndrek Juhkam2011-12-201-1/+1
| |
* | rails/master is now 4.0.0.beta and will only support Ruby 1.9.3+David Heinemeier Hansson2011-12-201-3/+3
| |
* | Party like its R-C-UNO!David Heinemeier Hansson2011-12-191-1/+1
| |
* | Default relative_url_root to ENV["RAILS_RELATIVE_URL_ROOT"]. Fixes #3365Piotrek Okoński2011-12-121-2/+3
| |
* | Using InstanceMethods in a Concern is deprecatedJeremy Kemper2011-11-301-10/+6
| |
* | Correct ActionMailer subject i18n lookup scope. Andrew France2011-10-201-1/+1
| | | | | | The :actionmailer i18n scope part is not used and according to https://github.com/rails/rails/pull/2542 the implementation is correct.
* | normalize arg for ActionMailer::TestCase tests methodAlexey Vakhov2011-10-031-1/+8
| |
* | update ActionMailer example using last truncate helper method signatureAlexey Vakhov2011-09-261-2/+2
| |
* | Master version is 3.2.0.betaSantiago Pastorino2011-06-301-2/+2
| |
* | singularize module and be explicit about what is deliveredMatt Jankowski2011-06-211-1/+1
| |
* | grammar (missing "a") and formattingMatt Jankowski2011-06-211-3/+3
| |
* | clarify why the only_path => false option is needed when default :host has ↵Matt Jankowski2011-06-211-4/+4
| | | | | | | | been set for mailers
* | elaborate details on why to use _url instead of _path in mailersMatt Jankowski2011-06-211-2/+3
| |
* | typo changesJudeArasu2011-06-191-2/+3
| |
* | copy-edits 7c2db6c, cbf2af1, and f391f94Xavier Noria2011-06-181-1/+1
| |
* | The name for the plain text template in Rails3 appears to be ↵Jason Fox2011-06-151-4/+4
| | | | | | | | method.text.erb, not, method.text.plain.erb. Updated the doc to reflect this change. Also fixed a reference to an example that was incorrect.
* | typo changesJudeArasu2011-06-141-1/+1
| |
* | fix typoVijay Dev2011-06-081-1/+1
| |
* | Add action_mailer observer and interceptors configuration optionsPaco Guzman2011-06-071-4/+4
| |
* | minor typo in the rdoc about Interceptor.Teng Siong Ong2011-05-281-1/+1
| |
* | minor spacing fix in code example in ActionMailer::Base.Teng Siong Ong2011-05-281-8/+8
|/
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-251-6/+6
|\ | | | | | | | | | | Conflicts: actionmailer/lib/action_mailer/base.rb activesupport/lib/active_support/core_ext/kernel/requires.rb
| * Remove extra white spaces on ActionMailer docs.Sebastian Martinez2011-05-231-7/+7
| |
* | Removed deprecated ActionMailer API and related testsJosh Kalderimis2011-05-245-343/+3
| |
* | Bump versions for rc1David Heinemeier Hansson2011-05-211-1/+1
| |
* | Example Usage updated for actionpack and actionmailer.Arun Agrawal2011-05-191-1/+1
|/
* Update Mailer generator to use 1.9 styled hash when run on Ruby 1.9Prem Sichanugrist2011-05-131-2/+2
| | | | As always, you can run `--old-style-hash` to override that.
* More updates to ivars list.José Valim2011-05-062-1/+3
|
* Move variables to underscore format, update protected instance variables list.José Valim2011-05-061-3/+0
|
* Prepare for beta1David Heinemeier Hansson2011-05-041-1/+1
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-04-191-0/+7
|\ | | | | | | | | | | Conflicts: railties/guides/source/ajax_on_rails.textile railties/guides/source/generators.textile