Ok. Found the issue.
In the declaration of the model for "Item", I have a field/column
called "slug". I'm not using it as a key. But I want it to be unique.
So I have, in the model, several lines below the primary key
declaration:
validates :slug, :uniqueness => true, :presence => true
This causes a huge problem for CPK/Rails and results in the garbage
SQL shown above.
It looks like the problem probably occurs in arel.compile_update.
Note that I have ~20 other models that all use CPK without issue, but
none of them have a uniqueness validator. Commenting out the validates
line solves the problem in this case (although I'd like to be able to
use it).