title: User CRUD in web application that handles registration and login with Devise
body: <p>I am currently working on application that is build on rails 3.0.9. All of a sudden the client decided that there should be a place to create a user and edit a user in the admin section of the website. </p>
  
  <p>Now here is the case. The authentication and registration in the web application is handled by devise. If I try to implement a custom USER create method in my controller how should I hash the password in the very same way devise is doing so that I can store that in the database. This also applies to editing the already registered users as well. </p>
  
  <p>I have tried to find the solution but no use. Any help in resolving this would be appreciated.</p>