rb - patch - check id column exists