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 484dcb6 + 42a4fce commit 161badbCopy full SHA for 161badb
activemodel/CHANGELOG.md
@@ -7,12 +7,12 @@
7
```ruby
8
user = User.new(password: "a" * 73) # 73 characters
9
user.valid? # => false
10
- user.errors[:password] # => ["is too long (maximum is 72 characters)"]
+ user.errors[:password] # => ["is too long"]
11
12
13
user = User.new(password: "あ" * 25) # 25 characters, 75 bytes
14
15
- user.errors[:password] # => ["is too long (maximum is 72 bytes)"]
16
```
17
18
*ChatGPT*, *Guillermo Iguaran*
0 commit comments