提交 b3a31e93 编写于 作者: C Carlos Antonio da Silva

Fix AMo code example indent, add missing author to entry [ci skip]

上级 72be5bb5
......@@ -5,11 +5,13 @@
Example:
# given User has_secure_password.
# Given User has_secure_password.
@user.password = ""
@user.password_confirmation = ""
@user.valid?(:update) # used to be false
*Yves Senn*
* `validates_confirmation_of` does not override writer methods for
the confirmation attribute if no reader is defined.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册