Skip to content

Commit 63f0914

Browse files
guilleiguaranp8
andcommitted
Update CHANGELOG examples
Co-authored-by: Petrik de Heus <[email protected]>
1 parent 74264f4 commit 63f0914

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

activemodel/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
to consider both character count and byte size while keeping the character length validation in place.
66

77
```ruby
8-
user = User.new(password: "𝕒" * 73) # 73 characters
8+
user = User.new(password: "a" * 73) # 73 characters
99
user.valid? # => false
1010
user.errors[:password] # => ["is too long (maximum is 72 characters)"]
1111

1212

13-
user = User.new(password: "𝕒" * 25) # 25 characters, 75 bytes
13+
user = User.new(password: "" * 25) # 25 characters, 75 bytes
1414
user.valid? # => false
1515
user.errors[:password] # => ["is too long (maximum is 72 bytes)"]
1616
```

0 commit comments

Comments
 (0)