jacaetevha/sugarcrm — comment on commit 0636284e801a3aa191a0427f64e7caf2f1530e0a
File:  line 0
By chicks:

I'd say that the vardefs in the client's Sugar instance are amiss. You can find them in /modules//vardefs.php.

vardefs are metadata that define the fields and relationships of a module. The gem depends heavily upon that metadata to be correct for things to work properly.