I’ve been able to create pg relations that stores UUID into tables in the ‘id’ field. However, it seems to be unable to use .associate(:parent) when creating a changset, I need to specify ‘primary_key :id’ in the schema so that the pk can be inferred. The problem that flows from that is that doing so expects the pk to be an integer, so the whole thing breaks.
what would be the correct way to either specify the primary_key when its not an integer or to otherwise be able to infer the association when writing the child record?
thanks for any insights