I have a sign up mechanism which completes after link to activation through confirmable. now i want to remove confirmable and i want user to directly login after the sign up. please tell me what changes i need to do and how can i do this? do i also need to remove confirmation fields from db? please tell me the whole procedue.
I have a sign up mechanism which completes after link to activation through confirmable.
Share
you need to use
@user.skip_confirmation!before saving user in db.If you are using registration_controller then the @user object will be resource like.
This is registrations_controller create method.