We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca5132b + 796eb66 commit 574ea20Copy full SHA for 574ea20
guides/source/active_model_basics.md
@@ -527,7 +527,8 @@ The following validations are added automatically:
527
528
1. Password should be present.
529
2. Password should be equal to its confirmation (provided `XXX_confirmation` is passed along).
530
-3. The maximum length of a password is 72 (required by `bcrypt` on which ActiveModel::SecurePassword depends)
+3. The maximum length of a password is 72 bytes (required as `bcrypt`, on which
531
+ ActiveModel::SecurePassword depends, truncates the string to this size before encrypting it).
532
533
#### Examples
534
0 commit comments