For some reason this seems to have stopped working for me. I did an edit on a users email but made a mistake with the name. Now every time I run :UserEmail.find_by(email: “oid@example.com”).update(email: “new@example.com”)
I get: NoMethodError: undefined method `update’ for nil:NilClass
Has something changed?