1. 24 7月, 2010 1 次提交
  2. 23 7月, 2010 1 次提交
  3. 21 7月, 2010 1 次提交
  4. 17 6月, 2010 2 次提交
  5. 02 3月, 2010 2 次提交
  6. 05 2月, 2010 3 次提交
  7. 25 1月, 2010 1 次提交
  8. 17 12月, 2009 1 次提交
  9. 11 11月, 2009 1 次提交
  10. 10 11月, 2009 1 次提交
  11. 01 11月, 2009 1 次提交
    • M
      abstract all of the ActionMailer delivery methods into their own classes.... · f4f76772
      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>
      f4f76772
  12. 17 10月, 2009 1 次提交
  13. 25 9月, 2009 1 次提交
  14. 01 9月, 2009 1 次提交
  15. 01 7月, 2009 1 次提交
  16. 09 6月, 2009 1 次提交
  17. 14 5月, 2009 1 次提交
  18. 16 3月, 2009 1 次提交
  19. 27 2月, 2009 1 次提交
  20. 19 11月, 2008 1 次提交
  21. 14 11月, 2008 1 次提交
  22. 24 10月, 2008 3 次提交
  23. 01 8月, 2008 1 次提交
  24. 23 6月, 2008 1 次提交
  25. 19 6月, 2008 1 次提交
  26. 01 6月, 2008 1 次提交
  27. 12 5月, 2008 1 次提交
  28. 18 3月, 2008 1 次提交
  29. 19 1月, 2008 1 次提交
  30. 17 12月, 2007 1 次提交
  31. 07 12月, 2007 2 次提交
  32. 06 12月, 2007 1 次提交
  33. 29 11月, 2007 1 次提交