4 ms·
This won't do anything for you there; it just collapses a Class and a record ID down into a string for you (and then pulls it back out of your database later wi
by damncabbage 12y ago
This won't do anything for you there; it just collapses a Class and a record ID down into a string for you (and then pulls it back out of your database later with a GlobalID::Locator.locate(string) call).
It's not full-record-serialization, and it can't bring back deleted records for you.
(See https://github.com/rails/rails/tree/master/activejob#globalid-support https://github.com/rails/rails/tree/master/activejob#globali... for an example.)