aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | load active_support/core_ext/class/attribute in active_support/railsXavier Noria2012-08-021-1/+0
| |
* | load active_support/core_ext/object/blank in active_support/railsXavier Noria2012-08-022-2/+0
| |
* | defines a private require-hub active_support/railsXavier Noria2012-08-021-0/+1
|/ | | | | | | | This is a private place to put those AS features that are used by every component. Nowadays we cherry-pick individual files wherever they are used, but that it is not worth the effort for stuff that is going to be loaded for sure sooner or later, like blank?, autoload, concern, etc.
* Improve docs, changelog and release notes for Action Mailer default_options=Carlos Antonio da Silva2012-07-061-2/+8
| | | | [ci skip]
* Merge pull request #6950 from paneq/default_from2Carlos Antonio da Silva2012-07-061-1/+4
|\ | | | | | | | | | | | | | | | | | | Introduce config.action_mailer.default_options= Allows to easily set :from, :replay_to, etc. options in config/application.rb using simple syntax: config.action_mailer.default_options = { from: "no-replay@example.org" } Closes #6747
| * Introduce config.action_mailer.default_from=Robert Pankowecki2012-07-031-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows to easily set :from, :replay_to, etc. options in config/application.rb using simple syntax: config.action_mailer.default_options = {from:"no-replay@example.org"} This was not possible using #default method because config.action_mailer.default(from: "no-replay@example.org") is interpreated as reader method and just returns nil. It would not call ActionMailer::Base.default method. The only way of calling this method from config/application.rb was to use the direct syntax which looks ugly in my opinion: config.assets.enabled = false config.assets.version = '1.0' config.encoding = "utf-8" config.action_mailer.default_url_options= { host:"example.org", protocol:"https" } ActionMailer::Base.default(from: "no-replay@example.org")
* | Use ArgumentError vs. RuntimeError, which is more precise.Mark Dodwell2012-07-041-1/+1
|/
* fix ActionMailer::Async docs and update to follow coding conventionsFrancesco Rodriguez2012-06-282-31/+33
|
* Some final syntax fixesBrian Cardarella2012-06-241-1/+1
|
* Better documentation for ActionMailer.asyncBrian Cardarella2012-06-241-2/+2
|
* Better documentation for ActionMailer.asyncBrian Cardarella2012-06-241-0/+4
|
* Forcing the message sending is no longer necessaryBrian Cardarella2012-06-241-7/+1
|
* Support for custom queues on the mailerBrian Cardarella2012-06-232-13/+14
| | | | Credit goes to *Aaron Patterson* (tenderlove)
* Removed unecessary splattingBrian Cardarella2012-06-231-1/+1
|
* Use Delegator for a cleaner QueuedMessage classBrian Cardarella2012-06-231-13/+8
| | | | Credit goes to *Nicolás Sanguinetti* (foca) for this suggestion
* Force message delivery despite asyncBrian Cardarella2012-06-231-2/+8
|
* AsyncMailer documentionBrian Cardarella2012-06-232-0/+3
|
* Asynchronous ActionMailerBrian Cardarella2012-06-232-0/+48
| | | | | | | | Any ActionMailer class can be set to render and delier messages using the new Rails Queue. Some of this work was borrowed (with permission) from Nick Plante's (zapnap) reqsue_mailer gem.
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-06-221-1/+1
|\
| * just specify what's to be done, not what's not to be.Damien Mathieu2012-06-201-1/+1
| |
| * Fix delivery_method usageBen Oakes2012-06-201-1/+1
| |
* | raise an error if no implicit mailer template could be foundDamien Mathieu2012-06-201-3/+19
|/
* mailer can be anonymousSergey Nartimov2012-05-131-1/+2
| | | | closes #5970
* Remove useless load path modificationsSantiago Pastorino2012-05-111-3/+0
|
* No need to force conversion to Symbol since case ensures it's alreadyMarcelo Silveira2012-05-031-1/+1
| | | | one.
* Fix it's -> itsMark Rushakoff2012-04-271-1/+1
|
* Use <tt>Foo::Bar</tt> instead of +Foo::Bar+Mark Rushakof2012-04-271-1/+1
| | | | | | | | The latter doesn't render as code in HTML output. Regex used in Rubymine to locate the latter form: (\+)(:*\w+:(?::|\w)+)(\+)
* Updated/changed useless tr/gsubsJurriaan Pruis2012-04-032-2/+2
|
* Updates ActionMailer Base summary and fixes space in code example.Charles Brian Quinn2012-03-191-4/+4
|
* Remove key_value helper now that master is 1.9 only and we always useRafael Mendonça França2012-03-131-2/+2
| | | | the 1.9 hash syntax in the generators.
* 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
| |