Thanks! The idea is to create it only once if the model doesn’t exist. If the model does exist, then load it.
This said, I’m thinking now it might make more sense to check if the model exists first. If it does, then use a
link-to that has the model’s ID in the URL.
If the model doesn’t exist, then the
link-to would create the record
onClick, and then redirect to the URL with the model’s ID in it.
Does that sound like a sensible approach?