From 2f7b239fca6630e49ba8ad9df6fc7db25e1080f0 Mon Sep 17 00:00:00 2001 From: Abdelkader Boudih Date: Sun, 17 Aug 2014 01:06:30 +0000 Subject: [ActiveJob] Use globalid gem --- activejob/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activejob/README.md') 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. -- cgit v1.2.3