Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check if user confirmed is account #539

Closed
m2omou opened this issue Feb 15, 2016 · 1 comment
Closed

check if user confirmed is account #539

m2omou opened this issue Feb 15, 2016 · 1 comment

Comments

@m2omou
Copy link

m2omou commented Feb 15, 2016

Is there a way to return only the users that have confirmed their account by clicking to the link in the email ?

Is their a better way to do it ? thanks

users = User.where.not(:confirmed_at => nil)
@zachfeldman
Copy link
Contributor

I don't think there is. Seems like you've found a solution that works for you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants