title: How to check if password satisfies devise validation requirements?
body: <p>In my rails project I need to show certain error only if entered password satisfies devise validation requirements. Is there anything I can use for this?</p>
  
  <p><code>valid_password?</code> is not applicable here, since it only shows if entered password equals the one in DB.</p>