STI model; can you change the "type" column after creation to change the type of object?

I just want to report on what what causing us such a nightmare.

We would do @order.becomes!(MediaMailOrder).save

and at various times it would work, and at others not, and no real logic to it that we could find.

Eventually I found this post related to the paper_trail gem. The version of the gem we were using goes in and touches the type field on the model for some reason. When I disabled paper trail everything worked as expected. I think. I’m so tired I need to look at it again tomorrow. We spent quite a bit of time on this one. :frowning:

If we upgrade our paper_trail we should be okay.