How do you verify a user with ruby?

Given a user is created with a username and an email address … how do you verify that user in ruby?

It’s hard to answer without more context.

User.find_by_username('pfaffman') 

Perhaps?

1 Like

Thanks Jay

Turned out to just be

user.activate
2 Likes