We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The problem is that the confirmation_token is emptied when the user confirms and the bulk_invite filters on empty confirmation_tokens only:
users = User.where(:confirmation_token => nil).order(:created_at).limit(params[:quantity])
Simply adding :encrypted_password => nil to the where cluase solves the problem:
users = User.where(:confirmation_token => nil, :encrypted_password => nil).order(:created_at).limit(params[:quantity])
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The problem is that the confirmation_token is emptied when the user confirms and the bulk_invite filters on empty confirmation_tokens only:
Simply adding :encrypted_password => nil to the where cluase solves the problem:
The text was updated successfully, but these errors were encountered: