The gem seems to bug with class names such as Person, where it'd have to make conversions from and to people. The following code works perfectly for Company, but screws up for Person: http://gist.github.com/480120