I have Devise working. I have roles for users working. I even added
custom fields to the User model and it seems that now everything is
working fine. So people can now subscribe using the Sign Up form
provided by Devise.
But now I need Admins, to add users. Of course, I can’t use the Sign Up
form for that. If I just use a regular User model, their passwords are
blank. Or maybe the form won’t even work because it will try to use the
Registration Controller instead of the User controller (been there, done
that), so it won’t work.
This is the general idea of what I’m looking for. This is my objective.
Admin creates a User. App sends Invitation Email to new User. User
clicks on link provided in the email. Links takes new User to a webpage
where he pick his password. User can now login to the app.
I’ve been reading several articles online but I can’t find exactly what
I’m looking for.
Can anybody point me to the right direction?