1. 20 7月, 2017 1 次提交
  2. 19 7月, 2017 1 次提交
    • Y
      Fix `warning: circular argument reference` · 2966f959
      yuuji.yaginuma 提交于
      This fixes the following warnings:
      
      ```
      rails/activejob/lib/active_job/test_helper.rb:119: warning: circular argument reference - except
      rails/activejob/lib/active_job/test_helper.rb:166: warning: circular argument reference - except
      ```
      2966f959
  3. 18 7月, 2017 1 次提交
  4. 11 7月, 2017 1 次提交
  5. 10 7月, 2017 1 次提交
  6. 02 7月, 2017 1 次提交
  7. 01 7月, 2017 2 次提交
  8. 27 6月, 2017 1 次提交
  9. 03 6月, 2017 1 次提交
  10. 30 5月, 2017 1 次提交
  11. 26 5月, 2017 2 次提交
  12. 23 5月, 2017 1 次提交
  13. 22 5月, 2017 1 次提交
  14. 28 3月, 2017 1 次提交
    • S
      Add error logging to Active Job · 452f9ee0
      Steven Bull 提交于
      Active Job logging instrumentation is changed to log errors (with
      backtrace) when a job raises an exception in #perform. This improves
      debugging during development and test with the default configuration.
      
      Prior to Rails 5, the default development configuration ran jobs with
      InlineAdapter, which would raise exceptions to the caller and be
      shown in the development log. In Rails 5, the default adapter was
      changed to AsyncAdapter, which would silently swallow exceptions
      and log a "Performed SomeJob from Async..." info message. This could
      be confusing to a developer, as it would seem that the job was
      performed successfully.
      
      This patch removes the "Performed..." info message from the log
      and adds an error-level "Error performing SomeJob..." log message
      which includes the exception backtrace for jobs that raise an
      exception within the #perform method. It provides this behavior for
      all adapters.
      452f9ee0
  15. 22 3月, 2017 1 次提交
  16. 16 3月, 2017 1 次提交
  17. 24 2月, 2017 1 次提交
  18. 23 2月, 2017 1 次提交
    • B
      Include JobID in all ActiveJob info logs · 85c62a2c
      Bolek Kurowski 提交于
      Currently we provide the Job ID in logs only related to enqueuing a job.
      
      This adds the job id to the remaining ActiveJob logs when:
       - a job started performing
       - a job ended performing
      
      Providing the job id in those logs will ease searching logs by job id.
      85c62a2c
  19. 01 2月, 2017 1 次提交
    • Y
      correctly set test adapter when configure the queue adapter on a per job (#26690) · 80dc3098
      Yuji Yaginuma 提交于
      The `ActiveJob::TestHelper` replace the adapter to test adapter in
      `before_setup`. It gets the target class using the `descendants`, but if
      the test target job class is not loaded, will not be a replacement of
      the adapter.
      Therefore, instead of replacing with `before_setup`, modified to
      replace when setting adapter.
      
      Fixes #26360
      80dc3098
  20. 31 1月, 2017 1 次提交
  21. 18 1月, 2017 1 次提交
  22. 17 1月, 2017 1 次提交
  23. 15 1月, 2017 1 次提交
  24. 05 1月, 2017 1 次提交
  25. 04 1月, 2017 1 次提交
  26. 03 1月, 2017 1 次提交
    • F
      Fix generator command for nested (namespaced) rails engine · 085546df
      Fumiaki MATSUSHIMA 提交于
      If we create nested (namespaced) rails engine such like bukkits-admin,
      `bin/rails g scaffold User name:string age:integer`
      will create
      `bukkits-admin/app/controllers/bukkits/users_controller.rb`
      but it should create
      `bukkits-admin/app/controllers/bukkits/admin/users_controller.rb`.
      
      In #6643, we changed `namespaced_path` as root path
      because we supposed application_controller is always in root
      but nested rails engine's application_controller will not.
      085546df
  27. 31 12月, 2016 1 次提交
  28. 24 12月, 2016 2 次提交
  29. 18 11月, 2016 1 次提交
    • Y
      remove Ruby warning from Active Job test helper methods · 5b825c55
      yuuji.yaginuma 提交于
      This removes the following warnings.
      
      ```
      /home/travis/build/rails/rails/activejob/lib/active_job/test_helper.rb:241: warning: shadowing outer local variable - job
      /home/travis/build/rails/rails/activejob/lib/active_job/test_helper.rb:265: warning: shadowing outer local variable - job
      ```
      5b825c55
  30. 17 11月, 2016 1 次提交
  31. 29 10月, 2016 1 次提交
  32. 27 10月, 2016 1 次提交
  33. 21 10月, 2016 1 次提交
  34. 14 10月, 2016 1 次提交
  35. 11 10月, 2016 2 次提交
  36. 08 10月, 2016 1 次提交