1. 26 7月, 2010 1 次提交
  2. 24 7月, 2010 1 次提交
  3. 23 7月, 2010 1 次提交
  4. 21 7月, 2010 1 次提交
  5. 17 6月, 2010 2 次提交
  6. 02 3月, 2010 2 次提交
  7. 05 2月, 2010 3 次提交
  8. 25 1月, 2010 1 次提交
  9. 17 12月, 2009 1 次提交
  10. 11 11月, 2009 1 次提交
  11. 10 11月, 2009 1 次提交
  12. 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
  13. 17 10月, 2009 1 次提交
  14. 25 9月, 2009 1 次提交
  15. 01 9月, 2009 1 次提交
  16. 01 7月, 2009 1 次提交
  17. 09 6月, 2009 1 次提交
  18. 14 5月, 2009 1 次提交
  19. 16 3月, 2009 1 次提交
  20. 27 2月, 2009 1 次提交
  21. 19 11月, 2008 1 次提交
  22. 14 11月, 2008 1 次提交
  23. 24 10月, 2008 3 次提交
  24. 01 8月, 2008 1 次提交
  25. 23 6月, 2008 1 次提交
  26. 19 6月, 2008 1 次提交
  27. 01 6月, 2008 1 次提交
  28. 12 5月, 2008 1 次提交
  29. 18 3月, 2008 1 次提交
  30. 19 1月, 2008 1 次提交
  31. 17 12月, 2007 1 次提交
  32. 07 12月, 2007 2 次提交
  33. 06 12月, 2007 1 次提交