Arquivo

Textos com Etiquetas ‘rubygem’

Validates password strength in Rails app

13, dezembro, 2011 Sem comentários

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: , , ,