Página Inicial > Rails, Ruby > Validates password strength in Rails app

Validates password strength in Rails app

Hello guys,

In the last weekend I finished a rubygem to validate the password strength. It’s a very simple gem, the code are available at github

To install:

gem install password_strong

It’s very simple to use, just add verify_strong in the attribute.

Example:

class User < ActiveRecord::Base

  verify_strong :password

end

In the future I gonna work in client side validation. Feel free to contribute.

Categories: Rails, Ruby Tags: , , ,
  1. Nenhum comentário ainda.
  1. Nenhum trackback ainda.