Single Table Inheritance and modules


I have model objects inside modules to prevent naming collisions. Does anyone know how to force ActiveRecord, when using STI, to use the module name in the type column of the database?

I've tried forcing AR to save the module name in the type column, but then when I try to retrieve the object, the sql statement includes "where 'type' = 'class'" (without the module name) and the object cannot be found.

Thanks in advance,