Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve error message when serializing unsaved records for jobs | Faraz Yashar | 2015-06-28 | 1 | -7/+14 |
| | |||||
* | Add doc for original_exception in ActiveJob::DeserializationError [ci skip] | Zachary Scott | 2015-04-29 | 1 | -0/+2 |
| | |||||
* | nodoc private internal constants from ActiveJob::Arguments | Zachary Scott | 2015-04-26 | 1 | -0/+5 |
| | |||||
* | Allow keyword arguments to work with ActiveJob | Sean Griffin | 2015-01-30 | 1 | -9/+40 |
| | | | | | | | | | | | | | | | | | Unfortunately, the HashWithIndifferent access approach is insufficient for our needs. It's perfectly reasonable to want to use keyword arguments with Active Job, which we will see as a symbol keyed hash. For Ruby to convert this back to keyword arguments, it must deserialize to a symbol keyed hash. There are two primary changes to the serialization behavior. We first treat a HWIA separately, and mark it as such so we can convert it back into a HWIA during deserialization. For normal hashes, we keep a list of all symbol keys, and convert them back to symbol keys after deserialization. Fixes #18741. | ||||
* | Add 'require' for Hash#with_indifferent_access | joker1007 | 2014-12-21 | 1 | -0/+2 |
| | | | | | | | | | ActiveJob::Arguments uses Hash#with_indifferent_access. But, activejob gem does not require Hash extension library. When we use activejob as standalone, we need extra require statement. This is unhandy. This commit fixes it. | ||||
* | Add documentation on Active Job. | mo khan | 2014-10-02 | 1 | -0/+6 |
| | | | | | | | This adds documentation for the Active Job API. It includes documentation on how to configure the queue_adapter, and how to create new jobs. It adds links to the various other sections of the Active Job documentation. | ||||
* | Fix string/gid collision in job arguments | Jeremy Kemper | 2014-09-25 | 1 | -3/+27 |
| | | | | Serialize Global IDs as special objects, distinguishable from Strings | ||||
* | Tighten up AJ::Arguments and its tests | Jeremy Kemper | 2014-09-14 | 1 | -8/+14 |
| | | | | | * Disallow deserialization of non-primitive objects * Broaden coverage; remove superfluous tests | ||||
* | Bump globalid version | Abdelkader Boudih | 2014-09-12 | 1 | -1/+1 |
| | |||||
* | Fix a warning | Matthew Draper | 2014-09-05 | 1 | -1/+1 |
| | |||||
* | [Active Job] Try to deserialize with GlobalID only strings and globalids | Cristian Bica | 2014-09-03 | 1 | -1/+3 |
| | |||||
* | Fix for double ActiveJob::DeserializationErorr | Cristian Bica | 2014-09-03 | 1 | -5/+5 |
| | |||||
* | Fix a few typos [ci skip] | Robin Dupret | 2014-08-24 | 1 | -1/+1 |
| | |||||
* | Raise ActiveJob::SerializationError when cannot serialize job arguments | Cristian Bica | 2014-08-24 | 1 | -2/+13 |
| | |||||
* | [ActiveJob] raise DeserializationError when got an error deserializing | Cristian Bica | 2014-08-17 | 1 | -0/+12 |
| | |||||
* | [ActiveJob] Use globalid gem | Abdelkader Boudih | 2014-08-17 | 1 | -5/+2 |
| | |||||
* | [ActiveJob] Convert ActiveJob::Arguments into module | Abdelkader Boudih | 2014-08-17 | 1 | -6/+7 |
| | |||||
* | Add 'activejob/' from commit '14f74a8331f94150dfee653224de8fc837797709' | Abdelkader Boudih | 2014-08-12 | 1 | -0/+52 |
git-subtree-dir: activejob git-subtree-mainline: b45b99894a60eda434abec94d133a1cfd8de2dda git-subtree-split: 14f74a8331f94150dfee653224de8fc837797709 |