create(:user)
also seems incorrect, should it be User.create
? Please be sure you're posting the correct code which will reproduce your error. In both cases the created_at or updated_at is different. We need to see how user
is used during the example.