Skip to content

Commit b44b0b4

Browse files
Merge pull request #46708 from cjilbert504/errors-where-guides-grammar
fix pluralization and punctuation issues [ci-skip] (cherry picked from commit ac3ab2d)
1 parent 03feb29 commit b44b0b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/source/active_record_validations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1231,9 +1231,9 @@ irb> person.errors[:name]
12311231

12321232
### `errors.where` and Error Object
12331233

1234-
Sometimes we may need more information about each error beside its message. Each error is encapsulated as an `ActiveModel::Error` object, and [`where`][] method is the most common way of access.
1234+
Sometimes we may need more information about each error besides its message. Each error is encapsulated as an `ActiveModel::Error` object, and the [`where`][] method is the most common way of access.
12351235

1236-
`where` returns an array of error objects, filtered by various degree of conditions.
1236+
`where` returns an array of error objects filtered by various degrees of conditions.
12371237

12381238
```ruby
12391239
class Person < ApplicationRecord

0 commit comments

Comments
 (0)