1. 26 8月, 2015 1 次提交
  2. 17 8月, 2015 1 次提交
  3. 13 8月, 2015 1 次提交
  4. 11 8月, 2015 1 次提交
  5. 06 8月, 2015 1 次提交
  6. 04 8月, 2015 1 次提交
    • J
      Fixes #20799 · 3860e6b2
      Johannes Opper 提交于
      When `#perform_later` is called the locale isn't stored on the
      queue, which results in a locale reset when the job is performed.
      
      An example of the problem:
      
          I18n.locale = 'de'
          HelloJob.perform_now # german message, correct
      
      but
      
          I18n.locale = 'de'
          HelloJob.perform_later # english message, incorrect
      
      This PR attaches the current I18n.locale to every job during the
      serialization process. It is then restored during deserialization
      and used to perform the job with the correct locale.
      
      It falls back to the default locale if no serialized locale is
      found in order to provide backward compatibility with previously
      stored jobs. It is not necessary to clear the queue for the update.
      3860e6b2
  7. 28 7月, 2015 1 次提交
  8. 29 6月, 2015 1 次提交
  9. 10 6月, 2015 1 次提交
  10. 02 6月, 2015 1 次提交
  11. 01 6月, 2015 1 次提交
  12. 20 5月, 2015 1 次提交
  13. 08 5月, 2015 4 次提交
  14. 05 5月, 2015 1 次提交
  15. 01 5月, 2015 1 次提交
  16. 30 4月, 2015 4 次提交
  17. 29 4月, 2015 1 次提交
  18. 27 4月, 2015 1 次提交
  19. 24 4月, 2015 1 次提交
  20. 12 4月, 2015 1 次提交
  21. 11 4月, 2015 1 次提交
  22. 10 4月, 2015 1 次提交
  23. 07 4月, 2015 1 次提交
  24. 24 3月, 2015 3 次提交
  25. 16 3月, 2015 1 次提交
  26. 13 3月, 2015 1 次提交
  27. 12 3月, 2015 3 次提交
  28. 07 3月, 2015 1 次提交
  29. 24 2月, 2015 2 次提交