Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add missing HelloJob require. | Kasper Timm Hansen | 2015-08-05 | 1 | -0/+1 |
| | | | | This way JobSerializationTest runs in isolation without errors. | ||||
* | Fixes #20799 | Johannes Opper | 2015-08-04 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Active Job refactoring | Cristian Bica | 2014-09-03 | 1 | -1/+1 |
| | |||||
* | [ActiveJob] Fix tests for sucker_punch | Abdelkader Boudih | 2014-08-17 | 1 | -2/+2 |
| | |||||
* | Moved AR testing from using global variable to thread variable | Cristian Bica | 2014-08-16 | 1 | -2/+2 |
| | |||||
* | Add 'activejob/' from commit '14f74a8331f94150dfee653224de8fc837797709' | Abdelkader Boudih | 2014-08-12 | 1 | -0/+15 |
git-subtree-dir: activejob git-subtree-mainline: b45b99894a60eda434abec94d133a1cfd8de2dda git-subtree-split: 14f74a8331f94150dfee653224de8fc837797709 |