From 5d93ef8f459254f075616d37763611ad87d86b30 Mon Sep 17 00:00:00 2001 From: Phil Calvin Date: Mon, 20 May 2013 12:13:21 -0700 Subject: Fix regression in has_secure_password. If the confirmation was blank, but the password wasn't, it would still save. --- activemodel/CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'activemodel/CHANGELOG.md') diff --git a/activemodel/CHANGELOG.md b/activemodel/CHANGELOG.md index 8c7af2d078..6fc34ecd60 100644 --- a/activemodel/CHANGELOG.md +++ b/activemodel/CHANGELOG.md @@ -1,3 +1,8 @@ +* Fix regression in has_secure_password. When a password is set, but a + confirmation is an empty string, it would incorrectly save. + + *Steve Klabnik* and *Phillip Calvin* + * Deprecate `Validator#setup`. This should be done manually now in the validator's constructor. *Nick Sutterer* -- cgit v1.2.3