[ci skip] Fix variable name
This commit is contained in:
parent
0f51dda718
commit
723a7c8ef4
@ -1217,9 +1217,9 @@ person.errors[:name]
|
||||
person.errors.clear
|
||||
person.errors.empty? # => true
|
||||
|
||||
p.save # => false
|
||||
person.save # => false
|
||||
|
||||
p.errors[:name]
|
||||
person.errors[:name]
|
||||
# => ["can't be blank", "is too short (minimum is 3 characters)"]
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user