diff options
author | Abdelkader Boudih <terminale@gmail.com> | 2014-08-17 01:06:30 +0000 |
---|---|---|
committer | Abdelkader Boudih <terminale@gmail.com> | 2014-08-17 23:10:45 +0000 |
commit | 2f7b239fca6630e49ba8ad9df6fc7db25e1080f0 (patch) | |
tree | 3de16393c2c3ff4fcf1534c28e700b937a3c05b6 /activejob/README.md | |
parent | 59221cc4f1b8f87553455aad26905c4f28b424f8 (diff) | |
download | rails-2f7b239fca6630e49ba8ad9df6fc7db25e1080f0.tar.gz rails-2f7b239fca6630e49ba8ad9df6fc7db25e1080f0.tar.bz2 rails-2f7b239fca6630e49ba8ad9df6fc7db25e1080f0.zip |
[ActiveJob] Use globalid gem
Diffstat (limited to 'activejob/README.md')
-rw-r--r-- | activejob/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activejob/README.md b/activejob/README.md index ebb7876c81..e48070bcfc 100644 --- a/activejob/README.md +++ b/activejob/README.md @@ -59,7 +59,7 @@ That's it! ## GlobalID support -Active Job supports [GlobalID serialization](https://github.com/rails/activemodel-globalid/) for parameters. This makes it possible +Active Job supports [GlobalID serialization](https://github.com/rails/globalid/) for parameters. This makes it possible to pass live Active Record objects to your job instead of class/id pairs, which you then have to manually deserialize. Before, jobs would look like this: @@ -82,7 +82,7 @@ class TrashableCleanupJob end ``` -This works with any class that mixes in ActiveModel::GlobalIdentification, which +This works with any class that mixes in GlobalID::Identification, which by default has been mixed into Active Record classes. |