title: How to validate password strength with Devise in Ruby on Rails?
body: <p>I want to force a user to choose a strong password on registration.</p>
  
  <p>I know, there are many jquery password strength meters out there, and I will most probably use one of them, too. But that does not really enforce anyone to choose a strong password. The registration form must also be useable without js enabled, so one could still potentially register with a weak password.</p>
  
  <p>Accounts must be most secure, because if you are logged in, you can see data of other accounts, which I do not want exposed under any circumstances. So I want to go for maximum security here, therefore I think, it is most important to only allow strong passwords.</p>
  
  <p>So,</p>
  
  <p><strong>How do I set and customize requirements for validating minimum password strength? Only thing I could find in the devise config file is password length. Is there another gem that I should use for this task?</strong></p>