Created_at and updated_at glitch

I am getting a glitch where the created_at and updated_at fields are not
always populating.

Does anyone know why this would happen?

If you provide the code from a controller action that has this problem,
maybe someone could figure out whether you’re doing something wrong.

Anything relevant from the model and the relevantn line from the
migration that created the field might be helpful too.

K. Adam Christensen wrote:

I am getting a glitch where the created_at and updated_at fields are not
always populating.

Does anyone know why this would happen?