rails/rails — pull request #5131 by fidothe (2012-02-22 17:08:43+00:00)
Title: Make the password confirmation for has_secure_password optional (opt-out)

* Wrap `validates_confirmation_of` call in option check
* Rename `ActiveModel::SecurePassword::InstanceMethodsOnActivation` to
`ActiveModel::SecurePassword::Authenticator` for those who just want
the `password=` and `authenticate` methods
* Update documentation
* Consolidate test case models as `mass_assignment_security_test`