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.
1 parent 74264f4 commit 63f0914Copy full SHA for 63f0914
activemodel/CHANGELOG.md
@@ -5,12 +5,12 @@
5
to consider both character count and byte size while keeping the character length validation in place.
6
7
```ruby
8
- user = User.new(password: "𝕒" * 73) # 73 characters
+ user = User.new(password: "a" * 73) # 73 characters
9
user.valid? # => false
10
user.errors[:password] # => ["is too long (maximum is 72 characters)"]
11
12
13
- user = User.new(password: "𝕒" * 25) # 25 characters, 75 bytes
+ user = User.new(password: "あ" * 25) # 25 characters, 75 bytes
14
15
user.errors[:password] # => ["is too long (maximum is 72 bytes)"]
16
```
0 commit comments