Integrate ActiveJob / DeliverLater / GlobalID with Rails

WIP.
Why are you using a global variable here?