- 09 1月, 2010 1 次提交
-
-
由 José Valim 提交于
Mailer should give self as payload because it contains all the information needed (as the template rendered and the mailer name).
-
- 07 1月, 2010 1 次提交
-
-
由 José Valim 提交于
Remove duplicated url_for code and move methods shared between ActionMailer and ActionController up to AbstractController.
-
- 04 1月, 2010 2 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
-
- 01 1月, 2010 2 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
controller_path is required by ActionView, so move it up to AbstractController and refactor AbstractController::Layouts.
-
- 31 12月, 2009 1 次提交
-
-
由 Mikel Lindsaar 提交于
-
- 30 12月, 2009 1 次提交
-
-
由 Mikel Lindsaar 提交于
-
- 28 12月, 2009 3 次提交
-
-
由 Mikel Lindsaar 提交于
-
由 José Valim 提交于
-
由 Mikel Lindsaar 提交于
-
- 27 12月, 2009 1 次提交
-
-
由 José Valim 提交于
-
- 26 12月, 2009 2 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
adv_attr_accessors in ActionMailer are not sent to the views, use the mailer object if you need to access the subject, recipients, from, etc.
-
- 23 12月, 2009 2 次提交
-
-
由 Joshua Peek 提交于
-
由 José Valim 提交于
Signed-off-by: NYehuda Katz <wycats@Yehuda-Katz.local>
-
- 22 12月, 2009 1 次提交
-
-
由 Carlhuda 提交于
Fix ActionMailer. The fact that ActionMailer::Base does not inherit from AbstractController::Base is either a bug or we need to re-evaluate the requirements of the mixins.
-
- 21 12月, 2009 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 17 12月, 2009 2 次提交
-
-
由 Mikel Lindsaar 提交于
-
由 Mikel Lindsaar 提交于
-
- 03 12月, 2009 1 次提交
-
-
由 Carlhuda 提交于
* A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications.
-
- 02 12月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
-
- 24 11月, 2009 1 次提交
-
-
由 Mikel Lindsaar 提交于
-
- 23 11月, 2009 2 次提交
-
-
由 Mikel Lindsaar 提交于
-
由 Mikel Lindsaar 提交于
-
- 22 11月, 2009 1 次提交
-
-
由 Mikel Lindsaar 提交于
-
- 20 11月, 2009 2 次提交
-
-
由 Mikel Lindsaar 提交于
-
由 Mikel Lindsaar 提交于
-
- 12 11月, 2009 1 次提交
-
-
由 Mikel Lindsaar 提交于
-
- 11 11月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 10 11月, 2009 1 次提交
-
-
由 José Valim 提交于
-
- 01 11月, 2009 9 次提交
-
-
由 José Valim 提交于
Extracted localized_cache.rb from ActionController, added it to AbstractController and made ActionMailer use it.
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
Move all render and layout pieces required in ActionMailer from ActionController to AbstractController.
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 Matthew Rudy Jacobs 提交于
abstract all of the ActionMailer delivery methods into their own classes. thereby the following are equivalent ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.delivery_method = ActionMailer::DeliveryMethod::Smtp we could equally set our own custom object as long as it provides the instance method :perform_delivery(mail) eg. class MySmsDeliveryMethod def perform_delivery(mail) Sms.send(mail['to'], mail['body']) end end MySmsMailer.delivery_method = MySmsDeliveryMethod.new Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-