- 20 7月, 2017 1 次提交
-
-
由 yuuji.yaginuma 提交于
If the argument is invalid, I think that it is more intuitive to use `ArgumentError` than its own error class.
-
- 19 7月, 2017 1 次提交
-
-
由 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 ```
-
- 18 7月, 2017 1 次提交
-
-
由 posthumanism 提交于
-
- 11 7月, 2017 1 次提交
-
-
由 Koichi ITO 提交于
-
- 10 7月, 2017 1 次提交
-
-
由 Kir Shatrov 提交于
-
- 02 7月, 2017 1 次提交
-
-
由 Matthew Draper 提交于
This reverts commit 3420a145, reversing changes made to afb66a5a.
-
- 01 7月, 2017 2 次提交
-
-
由 Akira Matsuda 提交于
-
由 Kir Shatrov 提交于
-
- 27 6月, 2017 1 次提交
-
-
由 utilum 提交于
-
- 03 6月, 2017 1 次提交
-
-
由 Genadi Samokovarov 提交于
-
- 30 5月, 2017 1 次提交
-
-
由 David Heinemeier Hansson 提交于
* Allow a default value to be declared for class_attribute * Convert to using class_attribute default rather than explicit setter * Removed instance_accessor option by mistake * False is a valid default value * Documentation
-
- 26 5月, 2017 2 次提交
-
-
由 Mohit Natoo 提交于
fixed indentation. rebased with master.
-
由 Mohit Natoo 提交于
- removed predicate method. Used only reader.
-
- 22 5月, 2017 1 次提交
-
-
由 dixpac 提交于
When define callbacks latest definition on the same callback/method overwrites previous ones.
-
- 28 3月, 2017 1 次提交
-
-
由 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.
-
- 22 3月, 2017 1 次提交
-
-
由 Matthew Draper 提交于
-
- 16 3月, 2017 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 24 2月, 2017 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 23 2月, 2017 1 次提交
-
-
由 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.
-
- 01 2月, 2017 1 次提交
-
-
由 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
-
- 31 1月, 2017 1 次提交
-
-
由 Alexander Pauly 提交于
Refactored ActiveJob TestAdapter Updated ActiveJob changelog Fixed typo in changelog Fixed formatting issue in changelog
-
- 18 1月, 2017 1 次提交
-
-
由 Michael Elfassy 提交于
-
- 17 1月, 2017 1 次提交
-
-
由 Akira Matsuda 提交于
[ci skip]
-
- 15 1月, 2017 1 次提交
-
-
由 yuuji.yaginuma 提交于
`InlineAdapter` is not used from 1f8558fa.
-
- 24 12月, 2016 2 次提交
-
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
- 18 11月, 2016 1 次提交
-
-
由 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 ```
-
- 17 11月, 2016 1 次提交
-
-
由 Maxime Boisvert 提交于
-
- 29 10月, 2016 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 27 10月, 2016 1 次提交
-
-
由 Xavier Noria 提交于
-
- 21 10月, 2016 1 次提交
-
-
由 Gabi Stefanini 提交于
-
- 14 10月, 2016 1 次提交
-
-
由 yuuji.yaginuma 提交于
-
- 11 10月, 2016 2 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
- 08 10月, 2016 1 次提交
-
-
- 20 9月, 2016 1 次提交
-
-
由 yuuji.yaginuma 提交于
`1-x-stable` branch does not exist, `master` is 1.x branch. Ref: http://words.steveklabnik.com/rescuing-resque-again
-
- 05 9月, 2016 1 次提交
-
-
由 yuuji.yaginuma 提交于
`subclasses` get only child classes. Therefore, if create a job common parent class as `ApplicationJob`, inherited class does not get properly.
-
- 02 9月, 2016 1 次提交
-
-
由 Xavier Noria 提交于
-
- 25 8月, 2016 1 次提交
-
-
由 Rafael Mendonça França 提交于
Usually users extends tests classes doing something like: ActionView::TestCase.include MyCustomTestHelpers This is bad because it will load the ActionView::TestCase right aways and this will load ActionController::Base making its on_load hooks to execute early than it should. One way to fix this is using the on_load hooks of the components like: ActiveSupport.on_load(:action_view) do ActionView::TestCase.include MyCustomTestHelpers end The problem with this approach is that the test extension will be only load when ActionView::Base is loaded and this may happen too late in the test. To fix this we are adding hooks to people extend the test classes that will be loaded exactly when the test classes are needed.
-
- 20 8月, 2016 1 次提交
-
-
由 yuuji.yaginuma 提交于
If the deadlock has occurred `ActiveRecord::Deadlocked` will raise. Ref: #25107, #26059
-