- 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.
-
- 23 5月, 2017 1 次提交
-
-
由 bogdanvlviv 提交于
".. with __dir__ we can restore order in the Universe." - by @fxn Related to 5b8738c2
-
- 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.
-
- 05 1月, 2017 1 次提交
-
-
由 Akira Matsuda 提交于
Actually, private methods cannot be called with `self.`, so it's not just redundant, it's a bad habit in Ruby
-
- 04 1月, 2017 1 次提交
-
-
由 Rafael Mendonça França 提交于
This reverts commit 1e969bfb, reversing changes made to a5041f26. Reason: It breaks the public API
-
- 03 1月, 2017 1 次提交
-
-
由 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.
-
- 31 12月, 2016 1 次提交
-
-
由 Jon Moss 提交于
Per https://www.timeanddate.com/counters/firstnewyear.html, it's already 2017 in a lot of places, so we should bump the Rails license years to 2017. [ci skip]
-
- 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 次提交
-
-