title: Devise change password format
body: <p>Is there any way to change the default password validation with devise?</p>
  
  <p>I am currently using the rails 3.2 and devise 2.1 and using validation on user model as,</p>
  
  <pre><code> validates :password, :format =&gt; { :with =&gt; /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d).{8,}$/,
   :message =&gt; "Password should contain at least 8 characters, one upper case, one lower case and one numeric." }
  </code></pre>
  
  <p>But this is leading to trouble as password only exist while creating the user or updating the password.</p>
  
  <p>Can anybody help me with this. </p>