You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some use cases where I need to do almost exactly what is in your docs - MyModel.find(x).to_global_id. That find(x) is a bunch of extra work that I would like to avoid. It would be really nice if I could do MyModel.global_id_for(x) and get the global ID that way. Granted, if x was a bad ID, the global_id would be bad, but that is obviously my bug.