This was in an initializer.  The glue wasn't getting loaded automatically, I think because there may be two AR instances, one on the application, one on the engine.  They are the same db config (in the application), but if they are different instances included modules can be totally different.