User stuck in 'staged' status

Thanks, I have found other users in this state, so I’ll use this workaround for now…

Here’s what I’m doing to catch them all periodically:

User.where.not(previous_visit_at: nil).where(staged: true).update_all(staged: false)

This time it updated 29 users…

1 个赞