Skip to content

Commit ac3ab2d

Browse files
Merge pull request rails#46708 from cjilbert504/errors-where-guides-grammar
fix pluralization and punctuation issues [ci-skip]
2 parents ba76451 + 37ac589 commit ac3ab2d

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
@@ -1230,9 +1230,9 @@ irb> person.errors[:name]
12301230

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

1233-
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.
1233+
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.
12341234

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

12371237
```ruby
12381238
class Person < ApplicationRecord

0 commit comments

Comments
 (0)