aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2015-07-09 14:00:26 +0200
committerRobin Dupret <robin.dupret@gmail.com>2015-07-09 14:00:26 +0200
commit4c9f47141b313658fce61c986a5458dc26a02499 (patch)
tree956be17e144d46308ae6c9f094e7f5ae08a671cf /guides
parent5ea8efecd08a71ca78688105a39b8a94236443ed (diff)
parent5e2273f42ce2382023f90fe4f0fbceec5c3416d5 (diff)
downloadrails-4c9f47141b313658fce61c986a5458dc26a02499.tar.gz
rails-4c9f47141b313658fce61c986a5458dc26a02499.tar.bz2
rails-4c9f47141b313658fce61c986a5458dc26a02499.zip
Merge pull request #20765 from maurogeorge/activejob-exception
Add Deserialization section on guides at ActiveJob Exception [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/active_job_basics.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/guides/source/active_job_basics.md b/guides/source/active_job_basics.md
index 22f3c0146a..dd545b56f5 100644
--- a/guides/source/active_job_basics.md
+++ b/guides/source/active_job_basics.md
@@ -330,6 +330,13 @@ class GuestsCleanupJob < ActiveJob::Base
end
```
+### Deserialization
+
+GlobalID allows serializing full Active Record objects passed to `#perform`.
+
+If a passed record is deleted after the job is enqueued but before the `#perform`
+method is called Active Job will raise an `ActiveJob::DeserializationError`
+exception.
Job Testing
--------------