I wanted to see if the following is reproducible and possible a bug or intended behavior.
I have a Meeting model that has a state machine. When a state is changed, I’d like the callback to send an email through the MeetingMailer in the background through ActiveJob. Passing self
in the callback seems to pass the wrong URI for the GlobalID and triggers the URI::InvalidURIError. If I move the call to send the mail to the controller and pass in a meeting object then everything works fine. Maybe I’m not understanding how GlobalID is used but I wanted to know if anyone else has tried this yet.
Thanks,
Evan